don't start outdated simulation

pull/10/head
Lex Neva 2017-12-31 22:28:43 -05:00
rodzic c2388a53a6
commit fd4d19bf8d
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -388,7 +388,7 @@ class SettingsFrame(wx.Frame):
def update_patches(self):
patches = self.generate_patches()
if patches:
if patches and not self.simulate_refresh_needed.is_set():
wx.CallAfter(self.refresh_simulator, patches)
def refresh_simulator(self, patches):