Also save window geo when using ESC or the close button

This commit is contained in:
WarmUpTill 2021-08-26 22:57:04 +02:00 committed by WarmUpTill
parent 076be21d40
commit 45a149f6df
2 changed files with 7 additions and 1 deletions

View File

@ -12,7 +12,12 @@ QMetaObject::Connection inactivePluse;
void AdvSceneSwitcher::on_close_clicked()
{
done(0);
close();
}
void AdvSceneSwitcher::reject()
{
close();
}
void AdvSceneSwitcher::UpdateNonMatchingScene(const QString &name)

View File

@ -30,6 +30,7 @@ public:
AdvSceneSwitcher(QWidget *parent);
void reject() override;
void closeEvent(QCloseEvent *event) override;
void SetStarted();