mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-04-18 16:17:23 -05:00
Also save window geo when using ESC or the close button
This commit is contained in:
parent
076be21d40
commit
45a149f6df
|
|
@ -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)
|
||||
|
|
|
|||
|
|
@ -30,6 +30,7 @@ public:
|
|||
|
||||
AdvSceneSwitcher(QWidget *parent);
|
||||
|
||||
void reject() override;
|
||||
void closeEvent(QCloseEvent *event) override;
|
||||
|
||||
void SetStarted();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user