--- a/controls/DebugVariablePanel/DebugVariableGraphicPanel.py Wed Jun 05 23:29:37 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableGraphicPanel.py Wed Jun 05 23:34:41 2013 +0200
@@ -161,7 +161,10 @@
Show error message in Error Dialog
@param message: Error message to display
- dialog = wx.MessageDialog(self.ParentWindow, message, _("Error"), wx.OK|wx.ICON_ERROR)
+ dialog = wx.MessageDialog(self.ParentWindow, @@ -337,6 +340,7 @@
# Save tick as start tick for range if data is still empty
@@ -365,6 +369,11 @@
wx.CallAfter(self.NewDataAvailable, None, True)
def SetCursorTick(self, cursor_tick):
+ Set Cursor for displaying values of items at a tick given + @param cursor_tick: Tick of cursor self.CursorTick = cursor_tick
self.Fixed = cursor_tick is not None
@@ -389,6 +398,7 @@
def ResetCursorTick(self):
def UpdateCursorTick(self):
@@ -649,7 +659,6 @@
def OnCurrentButton(self, event):
self.StartTick = max(self.Ticks[0], self.Ticks[-1] - self.CurrentRange)
@@ -880,6 +889,9 @@
self.GraphicPanels.remove(source_panel)
self.ResetVariableNameMask()
self.RefreshGraphicsSizer()
+ if len(self.GraphicPanels) == 0: def ToggleViewerType(self, panel):
@@ -901,7 +913,6 @@
def ResetGraphicsValues(self):
self.Ticks = numpy.array([])
for panel in self.GraphicPanels:
--- a/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Wed Jun 05 23:29:37 2013 +0200
+++ b/controls/DebugVariablePanel/DebugVariableGraphicViewer.py Wed Jun 05 23:34:41 2013 +0200
@@ -181,7 +181,10 @@
Show error message in Error Dialog
@param message: Error message to display
- dialog = wx.MessageDialog(self.ParentWindow, message, _("Error"), wx.OK|wx.ICON_ERROR)
+ dialog = wx.MessageDialog(self.ParentWindow,