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

@@ -60,7 +60,7 @@ class EntityEditor(wx.Panel):
btn.SetMinSize(size)
btn.SetMaxSize(size)
btn.SetToolTipString("{} {}".format(name.capitalize(), self.entityName))
btn.SetToolTip("{} {}".format(name.capitalize(), self.entityName))
btn.Bind(wx.EVT_BUTTON, func)
setattr(self, "btn%s" % name.capitalize(), btn)
self.navSizer.Add(btn, 0, wx.ALL | wx.ALIGN_CENTER_VERTICAL, 2)