This commit is contained in:
blitzmann
2017-05-14 01:40:57 -04:00
parent d4ce1ef3db
commit 3b23c9eacd
2 changed files with 2 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ class CommandFits(ContextMenu):
if not isinstance(ids, set):
ids = set([ids])
if evt is None or not ids.isdisjoint(cls.commandTypeIDs):
if evt is None or not ids.isdisjoint(cls.commandTypeIDs):
# we are adding or removing an item that defines a command fit. Need to refresh fit list
sFit = Fit.getInstance()
cls.commandFits = sFit.getFitsWithModules(cls.commandTypeIDs)

View File

@@ -553,7 +553,7 @@ class Fit(object):
for x in positions:
if not fit.modules[x].isEmpty:
fit.modules.toDummy(x)
modulesChanged=True
modulesChanged = True
# if no modules have changes, report back None
if not modulesChanged: