Code editor: Correctly hide the insert special character button when the editor is read-only.
[DEVELOPMENT ENVIRONMENT] * BUG: Code editor: Correctly hide the insert special character button when the editor is read-only.
This commit is contained in:
parent
b81e653925
commit
f218d6a3c9
2 changed files with 2 additions and 2 deletions
|
@ -462,7 +462,7 @@ Private Sub UpdateMenu()
|
|||
|
||||
bVisible = Not edtEditor.ReadOnly
|
||||
|
||||
Action[".save,.undo,.redo,.cut,.paste,.paste-special,.comment,.uncomment,.color,.indent,.unindent,.lcase,.ucase,.pretty,.date", Me].Visible = bVisible
|
||||
Action[".save,.undo,.redo,.cut,.paste,.paste-special,.comment,.uncomment,.color,.indent,.unindent,.lcase,.ucase,.pretty,.date,.char", Me].Visible = bVisible
|
||||
Action[".watch", Me].Visible = Project.Running
|
||||
|
||||
mnuAdvanced.Visible = bVisible
|
||||
|
|
|
@ -1247,7 +1247,7 @@ Private Sub UpdateMenu()
|
|||
|
||||
bVisible = Not edtEditor.ReadOnly
|
||||
|
||||
Action[".save,.undo,.redo,.cut,.paste,.color,.indent,.unindent,.lcase,.ucase,.sort-ascent,.sort-descent,.eol,.date", Me].Visible = bVisible
|
||||
Action[".save,.undo,.redo,.cut,.paste,.color,.indent,.unindent,.lcase,.ucase,.sort-ascent,.sort-descent,.eol,.date,.char", Me].Visible = bVisible
|
||||
mnuAdvanced.Visible = bVisible
|
||||
mnuEndOfLine.Visible = bVisible
|
||||
|
||||
|
|
Loading…
Reference in a new issue