Fix the view. Not sure why it broke (it was working at one point).

This commit is contained in:
Ebag333
2017-03-13 20:09:37 -07:00
parent d5f6f7b37c
commit 8991e1dbad
4 changed files with 5 additions and 5 deletions

View File

@@ -5,6 +5,7 @@ __all__ = [
"firepowerViewFull",
"capacitorViewFull",
"outgoingViewFull",
"outgoingViewMinimal",
"targetingMiscViewMinimal",
"priceViewFull",
]

View File

@@ -24,7 +24,7 @@ from gui.bitmapLoader import BitmapLoader
from gui.utils.numberFormatter import formatAmount
class OutgoingViewFull(StatsView):
class OutgoingViewMinimal(StatsView):
name = "outgoingViewMinimal"
def __init__(self, parent):
@@ -60,7 +60,7 @@ class OutgoingViewFull(StatsView):
for outgoingType, label, image, tooltip in rr_list:
baseBox = wx.BoxSizer(wx.VERTICAL)
baseBox.Add(BitmapLoader.getStaticBitmap("%s_big" % image, parent, "gui"), 0, wx.ALIGN_CENTER)
baseBox.Add(wx.StaticText(contentPanel, wx.ID_ANY, label), 0, wx.ALIGN_CENTER)
if "Capacitor" in outgoingType:
lbl = wx.StaticText(parent, wx.ID_ANY, u"0 GJ/s")
@@ -103,4 +103,4 @@ class OutgoingViewFull(StatsView):
self.headerPanel.Layout()
OutgoingViewFull.register()
OutgoingViewMinimal.register()