mirror of
https://github.com/veracrypt/VeraCrypt.git
synced 2025-11-11 19:08:26 -06:00
MacOSX: solve issue volumes not auto-dismounting when quitting VeraCrypt. restore main VeraCrypt window if is in background when we need to display various dialogs
This commit is contained in:
@@ -67,6 +67,7 @@ namespace VeraCrypt
|
||||
void MountAllFavorites ();
|
||||
void MountVolume ();
|
||||
void OnAboutMenuItemSelected (wxCommandEvent& event);
|
||||
void OnQuit(wxCommandEvent& event) { Close(true); }
|
||||
void OnActivate (wxActivateEvent& event);
|
||||
void OnAddAllMountedToFavoritesMenuItemSelected (wxCommandEvent& event);
|
||||
void OnAddToFavoritesMenuItemSelected (wxCommandEvent& event);
|
||||
@@ -82,7 +83,14 @@ namespace VeraCrypt
|
||||
void OnCloseAllSecurityTokenSessionsMenuItemSelected (wxCommandEvent& event);
|
||||
void OnDonateMenuItemSelected (wxCommandEvent& event) { Gui->OpenHomepageLink (this, L"donate"); }
|
||||
void OnContactMenuItemSelected (wxCommandEvent& event) { Gui->OpenHomepageLink (this, L"contact"); }
|
||||
void OnCreateKeyfileMenuItemSelected (wxCommandEvent& event) { Gui->CreateKeyfile(); }
|
||||
void OnCreateKeyfileMenuItemSelected (wxCommandEvent& event)
|
||||
{
|
||||
#ifdef TC_MACOSX
|
||||
if (Gui->IsInBackgroundMode())
|
||||
Gui->SetBackgroundMode (false);
|
||||
#endif
|
||||
Gui->CreateKeyfile();
|
||||
}
|
||||
void OnCreateVolumeButtonClick (wxCommandEvent& event);
|
||||
void OnDefaultKeyfilesMenuItemSelected (wxCommandEvent& event);
|
||||
void OnDefaultMountParametersMenuItemSelected( wxCommandEvent& event );
|
||||
|
||||
Reference in New Issue
Block a user