Fix bug in GraphicViewer in ToolTip of ResetZoomOffsetButton
authorLaurent Bessard
Mon, 27 Aug 2012 23:09:48 +0200
changeset 752 6b63246474ff
parent 751 c994279f205c
child 753 8a70e85f7e12
Fix bug in GraphicViewer in ToolTip of ResetZoomOffsetButton
GraphicViewer.py
--- a/GraphicViewer.py	Mon Aug 27 23:06:29 2012 +0200
+++ b/GraphicViewer.py	Mon Aug 27 23:09:48 2012 +0200
@@ -134,7 +134,7 @@
         
         self.ResetZoomOffsetButton = wx.lib.buttons.GenBitmapButton(self.Editor, 
               bitmap=GetBitmap("fit"), size=wx.Size(28, 28), style=wx.NO_BORDER)
-        self.CurrentButton.SetToolTipString(_("Reset zoom and offset"))
+        self.ResetZoomOffsetButton.SetToolTipString(_("Reset zoom and offset"))
         self.Bind(wx.EVT_BUTTON, self.OnResetZoomOffsetButton, 
               self.ResetZoomOffsetButton)
         range_sizer.AddWindow(self.ResetZoomOffsetButton, 0, border=0, flag=0)