Skip to content

fix(gui): avoid project reload when saving settings on start page - #2943

Merged
skylot merged 1 commit into
skylot:masterfrom
HdShare:fix
Aug 28, 2026
Merged

fix(gui): avoid project reload when saving settings on start page#2943
skylot merged 1 commit into
skylot:masterfrom
HdShare:fix

Conversation

@HdShare

@HdShare HdShare commented Aug 26, 2026

Copy link
Copy Markdown
Contributor

Description

Avoid calling MainWindow.reopen() when saving settings on the start page with no input files, preventing the incorrect “Can't open empty project” dialog.

Settings and shortcuts are still applied, and menu accelerators are refreshed immediately. Reload and input-file verification behavior for opened projects remains unchanged.

@skylot skylot left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks 👍

Although, it might be better to add some kind of flag if project is not yet actually opened and handle such case in reopen method directly, will try to implement that later.

@skylot
skylot merged commit 0ee823d into skylot:master Aug 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants