mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2025-10-05 10:12:02 +00:00
Added shortcut for restore template button
This commit is contained in:
@@ -26,7 +26,7 @@ class EditTemplateDialog(wx.Dialog):
|
|||||||
sizer_3.AddButton(self.button_SAVE)
|
sizer_3.AddButton(self.button_SAVE)
|
||||||
self.button_CANCEL = wx.Button(self, wx.ID_CANCEL)
|
self.button_CANCEL = wx.Button(self, wx.ID_CANCEL)
|
||||||
sizer_3.AddButton(self.button_CANCEL)
|
sizer_3.AddButton(self.button_CANCEL)
|
||||||
self.button_RESTORE = wx.Button(self, wx.ID_ANY, _("Restore template"))
|
self.button_RESTORE = wx.Button(self, wx.ID_ANY, _("&Restore template"))
|
||||||
self.button_RESTORE.Bind(wx.EVT_BUTTON, self.on_restore)
|
self.button_RESTORE.Bind(wx.EVT_BUTTON, self.on_restore)
|
||||||
sizer_3.AddButton(self.button_CANCEL)
|
sizer_3.AddButton(self.button_CANCEL)
|
||||||
sizer_3.Realize()
|
sizer_3.Realize()
|
||||||
|
Reference in New Issue
Block a user