[DEVELOPMENT ENVIRONMENT]

* BUG: Fix duplicated shortcuts in "fake" mode (i.e. when using the IDE to edit an external file).


git-svn-id: svn://localhost/gambas/trunk@8137 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Benoît Minisini 2017-05-22 15:21:26 +00:00
parent 6afda3dd48
commit 00a05d9d6d
3 changed files with 8 additions and 6 deletions

View file

@ -30,8 +30,8 @@ Component=gb.signal
Component=gb.util
Description="Integrated Development Environment for Gambas"
Authors="Benoît Minisini\nFabien Bodard\nCharlie Reinl\nJosé Luis Redrejo\nRobert Rowe\nTobias Boege"
Arguments=[["-t","/home/benoit/gambas/3.0/trunk/app/src/gambas3"]]
CurrentArgument=0
Arguments=[["~/AVT_Edith-Piaf_1740.jpeg"]]
CurrentArgument=1
TabSize=2
Translate=1
Language=en

View file

@ -1236,13 +1236,16 @@ Private Sub UpdateGlobalLayout()
mnuSave.Visible = Not bWelcome
mnuSaveAs.Visible = Not bWelcome
For Each hMenu In [mnuEdit, mnuProject, mnuDebug, mnuView]
For Each hMenu In [mnuProject, mnuDebug, mnuView]
hMenu.Visible = Not bWelcome And Not bFake
hMenu.Enabled = hMenu.Visible
Next
mnuEdit.Visible = Not bWelcome
mnuEdit.Enabled = mnuEdit.Visible
mnuTool.Visible = Not bWelcome
For Each hMenu In [mnuBrowse, mnuTerminal, mnuSendMail, mnuUpdateAllForms]
For Each hMenu In [mnuBrowse, mnuTerminal, mnuSendMail, mnuUpdateAllForms, mnuTool]
hMenu.Visible = Not bFake
hMenu.Enabled = hMenu.Visible
Next

View file

@ -81,7 +81,6 @@
Action = "_save"
Text = ("Save")
Picture = Picture["icon:/small/save"]
Shortcut = "Ctrl+S"
}
{ Menu40 Menu
Action = ".save-as"
@ -1272,7 +1271,7 @@
}
{ Action _save
Text = "Save"
Shortcut = "Ctrl+S"
Shortcut = ""
Picture = "icon:/small/save"
}
{ Action about