diff options
author | Ruined1 <ruined1@gmail.com> | 2017-04-24 13:33:04 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-24 13:33:04 +0300 |
commit | 23a39a0bb5a6c22320c1253b68f4521d0e0a5f4b (patch) | |
tree | 060bce537e2eb5342d6320ceccae45b8f5886ba0 | |
parent | ab6a195c6d8b58247c6c1b5d833843d66e6b0882 (diff) | |
parent | b1af3e36e0f5ad61cc60dc5164e7a47f4b171f9f (diff) |
Merge pull request #306 from kirinrastogi/master
Set the checkbox to false when pressing no on the warning
-This is legitimate, merging on @10se1ucgo behalf
-rw-r--r-- | dwt.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -265,7 +265,7 @@ class MainPanel(wx.Panel): caption="Attention!", style=wx.YES_NO | wx.ICON_EXCLAMATION) if warn.ShowModal() == wx.ID_NO: - event.GetObject().SetValue(False) + event.GetEventObject().SetValue(False) warn.Destroy() |