Limit amount of commands by 100

This commit is contained in:
DarkPhoenix
2019-04-29 09:48:37 +03:00
parent dd27a26fa9
commit e346239174

View File

@@ -222,7 +222,7 @@ class Fit(FitDeprecated):
@classmethod
def getCommandProcessor(cls, fitID):
if fitID not in cls.processors:
cls.processors[fitID] = wx.CommandProcessor()
cls.processors[fitID] = wx.CommandProcessor(maxCommands=100)
return cls.processors[fitID]
@staticmethod