diff options
author | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-01-04 19:26:50 +0100 |
---|---|---|
committer | Mounir IDRASSI <mounir.idrassi@idrix.fr> | 2015-01-04 19:28:42 +0100 |
commit | 41607d126a0a045222a5fc2fac5c9e77b40099f7 (patch) | |
tree | 0d2888b6a5a1c702868d210010a1b6ee38a964a0 /src/Main/Forms/PreferencesDialog.h | |
parent | f53554a46a985d67fcb2f81052c9f0d8c96fb067 (diff) | |
download | VeraCrypt-41607d126a0a045222a5fc2fac5c9e77b40099f7.tar.gz VeraCrypt-41607d126a0a045222a5fc2fac5c9e77b40099f7.zip |
Linux/MacOSX: make the cancel button work on the preferences dialog.
Diffstat (limited to 'src/Main/Forms/PreferencesDialog.h')
-rw-r--r-- | src/Main/Forms/PreferencesDialog.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Forms/PreferencesDialog.h b/src/Main/Forms/PreferencesDialog.h index d094203c..a7822ec4 100644 --- a/src/Main/Forms/PreferencesDialog.h +++ b/src/Main/Forms/PreferencesDialog.h @@ -26,7 +26,7 @@ namespace VeraCrypt protected: void OnAssignHotkeyButtonClick (wxCommandEvent& event); void OnBackgroundTaskEnabledCheckBoxClick (wxCommandEvent& event); - void OnCancelButtonClick (wxCommandEvent& event) { Close(); } + void OnCancelButtonClick (wxCommandEvent& event) { EndModal (wxID_CANCEL); } void OnClose (wxCloseEvent& event); void OnDismountOnPowerSavingCheckBoxClick (wxCommandEvent& event); void OnDismountOnScreenSaverCheckBoxClick (wxCommandEvent& event); |