Probably fixed #45.
This commit is contained in:
parent
fee6e50c30
commit
4daa97f749
@ -6,6 +6,9 @@ Added:
|
||||
▪ Application settings is now divided into separate components on source code level.
|
||||
▪ Application settings now offers "Apply" button which saves settings without closing the dialog. (issue #16)
|
||||
|
||||
Fixed:
|
||||
▪ RSS Guard correctly saves windows size/position when maximized on exit. (bug #45)
|
||||
|
||||
3.3.2
|
||||
—————
|
||||
|
||||
|
@ -437,9 +437,11 @@ void FormMain::saveSize() {
|
||||
}
|
||||
|
||||
if (is_maximized) {
|
||||
setWindowState(windowState() & ~Qt::WindowMaximized);
|
||||
setWindowState((windowState() & ~Qt::WindowMaximized) | Qt::WindowActive);
|
||||
}
|
||||
|
||||
qApp->processEvents();
|
||||
|
||||
settings->setValue(GROUP(GUI), GUI::MainMenuVisible, m_ui->m_actionSwitchMainMenu->isChecked());
|
||||
settings->setValue(GROUP(GUI), GUI::MainWindowInitialPosition, pos());
|
||||
settings->setValue(GROUP(GUI), GUI::MainWindowInitialSize, size());
|
||||
|
Loading…
x
Reference in New Issue
Block a user