1
0
mirror of https://github.com/veracrypt/VeraCrypt.git synced 2025-11-11 19:08:26 -06:00

MacOSX: Ensure that main window is visible on screen when About is display as a way to workaround for situations where UI is not visible or can't be move (for example, when changing display monitor with a different resolution).

This commit is contained in:
Mounir IDRASSI
2019-12-15 17:59:38 +01:00
parent a4ed6be38c
commit a81d45df82
2 changed files with 22 additions and 0 deletions

View File

@@ -725,6 +725,7 @@ namespace VeraCrypt
#ifdef TC_MACOSX
if (Gui->IsInBackgroundMode())
Gui->SetBackgroundMode (false);
EnsureVisible ();
#endif
AboutDialog dialog (this);
dialog.ShowModal();