From a81d45df820887cd9c66fb99d921f73632237bfc Mon Sep 17 00:00:00 2001 From: Mounir IDRASSI Date: Sun, 15 Dec 2019 17:59:38 +0100 Subject: 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). --- src/Main/Forms/MainFrame.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Main/Forms/MainFrame.cpp') diff --git a/src/Main/Forms/MainFrame.cpp b/src/Main/Forms/MainFrame.cpp index 9abe2552..8e0c401b 100644 --- a/src/Main/Forms/MainFrame.cpp +++ b/src/Main/Forms/MainFrame.cpp @@ -725,6 +725,7 @@ namespace VeraCrypt #ifdef TC_MACOSX if (Gui->IsInBackgroundMode()) Gui->SetBackgroundMode (false); + EnsureVisible (); #endif AboutDialog dialog (this); dialog.ShowModal(); -- cgit v1.2.3