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:
@@ -725,6 +725,7 @@ namespace VeraCrypt
|
||||
#ifdef TC_MACOSX
|
||||
if (Gui->IsInBackgroundMode())
|
||||
Gui->SetBackgroundMode (false);
|
||||
EnsureVisible ();
|
||||
#endif
|
||||
AboutDialog dialog (this);
|
||||
dialog.ShowModal();
|
||||
|
||||
Reference in New Issue
Block a user