Convert the context > Remove Module to command pattern

This commit is contained in:
blitzmann
2018-07-21 16:00:02 -04:00
parent 9309ddff07
commit ec3cd75f4c
2 changed files with 5 additions and 5 deletions

View File

@@ -5,9 +5,9 @@ import gui.mainFrame
from gui import globalEvents as GE
from collections import namedtuple
ModuleInfoCache = namedtuple('ModuleInfoCache', ['modPosition', 'itemID', 'state', 'charge'])
class FitModuleRemoveCommand(wx.Command):
def __init__(self, fitID, modules):
# todo: evaluate mutaplasmid modules