forked from 1b-agent/opencadstudio-upstream
fix(start): let the quick-access New button work on the Start screen
The button runs QNEW since #1635, and QNEW was missing from the commands the Start screen allows, so it was refused until a drawing was open. Fixes #1728 Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
74bffe77be
commit
88803cd692
1 file changed
+1
@@ -428,6 +428,7 @@ pub fn start_allowed(cmd: &str) -> bool {
|
||||
|| matches!(
|
||||
cmd,
|
||||
"NEW"
|
||||
| "QNEW"
|
||||
| "OPEN"
|
||||
| "EXIT"
|
||||
| "QUIT"
|
||||
|
||||
Reference in new issue
Block a user