Bug SV-2396
1 vote

Exception in MathRegions while changing language

Created by Davide on 9/9/2016 6:24 PM Last Updated by smath on 9/9/2016 7:45 PM
%
 (hrs)
Logged: 0   (hrs)

 Description

System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
   in SMath.Control.MathRegion.UpdateLayout()
   in SMath.Control.RegionControl.UpdateLayout()
   in SMath.Viewer.Viewer.TranslateLayout()
   in SMath.Viewer.Viewer.languageItem_Click(Object sender, EventArgs e)
   in System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   in System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   in System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   in System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   in System.Windows.Forms.Control.WndProc(Message& m)
   in System.Windows.Forms.ToolStrip.WndProc(Message& m)
   in System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
 

    smath (Friday, September 9, 2016 7:45 PM) #

Thank you. Changes merged to trunc.

    Davide (Friday, September 9, 2016 6:52 PM) #

Fix committed