Merge branch 'master' into i18n
# Conflicts: # staticdata/fsd_binary/typedogma.json # staticdata/fsd_lite/evetypes.json # staticdata/phobos/metadata.0.json # staticdata/phobos/traits.json
This commit is contained in:
@@ -563,7 +563,10 @@ class FittingView(d.Display):
|
||||
|
||||
if sFit.serviceFittingOptions["rackSlots"]:
|
||||
# flag to know when to add blanks, based on previous slot
|
||||
slotDivider = None if sFit.serviceFittingOptions["rackLabels"] else self.mods[0].slot
|
||||
if sFit.serviceFittingOptions["rackLabels"] or len(self.mods) == 0:
|
||||
slotDivider = None
|
||||
else:
|
||||
slotDivider = self.mods[0].slot
|
||||
|
||||
# first loop finds where slot dividers must go before modifying self.mods
|
||||
for i, mod in enumerate(self.mods):
|
||||
|
||||
@@ -403,6 +403,10 @@ class _TabRenderer:
|
||||
width = max(width, self.min_width)
|
||||
height = max(height, self.min_height)
|
||||
|
||||
cur_width, cur_height = self.tab_size
|
||||
if (width == cur_width) and (height == cur_height):
|
||||
return
|
||||
|
||||
self.tab_size = (width, height)
|
||||
self.InitTab()
|
||||
|
||||
@@ -976,9 +980,6 @@ class _TabsContainer(wx.Panel):
|
||||
sel_tab = self.tabs.index(tab)
|
||||
self.Parent.SetSelection(sel_tab)
|
||||
|
||||
wx.PostEvent(self.Parent, PageChanged(self.tabs.index(old_sel_tab),
|
||||
self.tabs.index(tab)))
|
||||
|
||||
return True
|
||||
|
||||
return False
|
||||
|
||||
@@ -111,8 +111,6 @@ class OpenFitsThread(threading.Thread):
|
||||
self.start()
|
||||
|
||||
def run(self):
|
||||
time.sleep(0.5) # Give GUI some time to finish drawing
|
||||
|
||||
# `startup` tells FitSpawner that we are loading fits are startup, and
|
||||
# has 3 values:
|
||||
# False = Set as default in FitSpawner itself, never set here
|
||||
|
||||
Reference in New Issue
Block a user