Added logic to not resize Qt main window when applying video settings if screen is in fullsize or maximize modes.

This commit is contained in:
mjbudd77 2021-06-01 20:11:07 -04:00
parent b0d31411b7
commit 32d26df3de
1 changed files with 4 additions and 1 deletions

View File

@ -947,7 +947,10 @@ void ConsoleVideoConfDialog_t::applyChanges( void )
consoleWindow->viewport_SDL->reset();
}
consoleWindow->resize( s );
if ( !consoleWindow->isFullScreen() && !consoleWindow->isMaximized() )
{
consoleWindow->resize( s );
}
updateReadouts();
}