Fix editors

This commit is contained in:
DarkPhoenix
2020-04-25 17:27:29 +03:00
parent 1090589cb2
commit f259df85cd
4 changed files with 5 additions and 5 deletions

View File

@@ -181,7 +181,7 @@ class DmgPatternEditor(AuxiliaryFrame):
setattr(self, name, btn)
btn.Enable(True)
btn.SetToolTip("%s patterns %s clipboard" % (name, direction))
footerSizer.Add(btn, 0, wx.ALIGN_CENTER_HORIZONTAL | wx.ALIGN_RIGHT)
footerSizer.Add(btn, 0)
btn.Bind(wx.EVT_BUTTON, getattr(self, "{}Patterns".format(name.lower())))
if not self.entityEditor.checkEntitiesExist():