Even more fixes

This commit is contained in:
Ryan Holmes
2017-06-13 15:01:30 -04:00
parent 1cbd8ee901
commit 2bbcd96ce3
11 changed files with 22 additions and 21 deletions

View File

@@ -179,7 +179,7 @@ class DmgPatternEditorDlg(wx.Dialog):
btn.Layout()
setattr(self, name, btn)
btn.Enable(True)
btn.SetToolTipString("%s patterns %s clipboard" % (name, direction))
btn.SetToolTip("%s patterns %s clipboard" % (name, direction))
footerSizer.Add(btn, 0, wx.ALIGN_CENTER_HORIZONTAL | wx.ALIGN_RIGHT)
btn.Bind(wx.EVT_BUTTON, getattr(self, "{}Patterns".format(name.lower())))