fix some whitespace stuff, update database, effect headers, and release version

This commit is contained in:
blitzmann
2017-08-16 20:23:18 -04:00
parent eef3b420a9
commit eda6d738a4
20 changed files with 23 additions and 25 deletions

View File

@@ -123,7 +123,7 @@ class MiningYieldViewFull(StatsView):
# Get the TogglePanel
tp = self.panel.GetParent()
# Bind the new panel's children to allow context menu access
self.parent.applyBinding(self.parent, tp.GetContentPane())
self.parent.applyBinding(self.parent, tp.GetContentPane())
tp.SetLabel(view.getHeaderText(fit))
view.refreshPanel(fit)

View File

@@ -113,7 +113,7 @@ class StatsPane(wx.Panel):
view.populatePanel(contentPanel, headerPanel)
tp.SetLabel(view.getHeaderText(None))
view.refreshPanel(None)
contentPanel.Bind(wx.EVT_RIGHT_DOWN, self.contextHandler(contentPanel))
for child in contentPanel.GetChildren():
child.Bind(wx.EVT_RIGHT_DOWN, self.contextHandler(contentPanel))
@@ -148,5 +148,4 @@ class StatsPane(wx.Panel):
def applyBinding(self, contentPanel):
pyfalog.debug("Attempt applyBinding to children of {0}", contentPanel.viewName)
for child in contentPanel.GetChildren():
child.Bind(wx.EVT_RIGHT_DOWN, self.contextHandler(contentPanel))
child.Bind(wx.EVT_RIGHT_DOWN, self.contextHandler(contentPanel))