mirror of
https://github.com/QB64-Phoenix-Edition/QB64pe.git
synced 2024-09-20 05:34:47 +00:00
Merge pull request #477 from a740g/main
Open GUI file dialog when Ctrl+S is pressed
This commit is contained in:
commit
61096dde17
1 changed files with 3 additions and 2 deletions
|
@ -3463,8 +3463,9 @@ FUNCTION ide2 (ignore)
|
|||
IF KCONTROL AND UCASE$(K$) = "S" THEN 'File -> #Save
|
||||
IF ideprogname = "" THEN
|
||||
ProposedTitle$ = FindProposedTitle$
|
||||
IF ProposedTitle$ = "" THEN
|
||||
a$ = idefiledialog$("untitled" + tempfolderindexstr$ + ".bas", 2)
|
||||
IF ProposedTitle$ = "" THEN ProposedTitle$ = "untitled" + tempfolderindexstr$
|
||||
IF UseGuiDialogs THEN
|
||||
a$ = Savefile$(ProposedTitle$ + ".bas")
|
||||
ELSE
|
||||
a$ = idefiledialog$(ProposedTitle$ + ".bas", 2)
|
||||
END IF
|
||||
|
|
Loading…
Reference in a new issue