Convert the context > Remove Module to command pattern
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user