kopia lustrzana https://github.com/inkstitch/inkstitch
avoid RuntimeError by closing params with CallAfter (#2809)
rodzic
f605f257e0
commit
f40c89a4a6
|
@ -608,7 +608,7 @@ class SettingsPanel(wx.Panel):
|
|||
self.apply(event)
|
||||
|
||||
def close(self):
|
||||
self.GetTopLevelParent().Close()
|
||||
wx.CallAfter(self.GetTopLevelParent().Close)
|
||||
|
||||
def cancel(self, event):
|
||||
if self.cancel_hook:
|
||||
|
|
Ładowanie…
Reference in New Issue