Skip to content
Snippets Groups Projects
Commit 284da64b authored by Benoît Minisini's avatar Benoît Minisini :church:
Browse files

Option dialog: Opening the dialog twice when the "Interface" tab is selected...

Option dialog: Opening the dialog twice when the "Interface" tab is selected does not crash anymore.

[DEVELOPMENT ENVIRONMENT]
* NEW: Code editor: Hide the "insert date" toolbar button by default.
* BUG: Option dialog: Opening the dialog twice when the "Interface" tab is selected does not crash anymore.
parent d0b75bcd
No related merge requests found
Pipeline #1068932294 passed
...@@ -386,6 +386,7 @@ ...@@ -386,6 +386,7 @@
} }
{ btnInsertDate MenuButton { btnInsertDate MenuButton
MoveScaled(73,0,6,4) MoveScaled(73,0,6,4)
Visible = False
ToolTip = ("Insert today's date") ToolTip = ("Insert today's date")
Action = ".date" Action = ".date"
Picture = Picture["icon:/small/calendar"] Picture = Picture["icon:/small/calendar"]
...@@ -752,6 +753,6 @@ ...@@ -752,6 +753,6 @@
{ Toolbar editor { Toolbar editor
Text = "Editor" Text = "Editor"
List = "show-form,diff,diff-previous,diff-next,save,reload,print,run-me,undo,redo,cut,copy,paste,paste-special,bookmark,color,date,char,indent,unindent,comment,uncomment,pretty,break,watch,find-definition,view-nosplit,view-hsplit,view-vsplit,proc,wrap,locked" List = "show-form,diff,diff-previous,diff-next,save,reload,print,run-me,undo,redo,cut,copy,paste,paste-special,bookmark,color,date,char,indent,unindent,comment,uncomment,pretty,break,watch,find-definition,view-nosplit,view-hsplit,view-vsplit,proc,wrap,locked"
Default = "show-form,diff,diff-previous,diff-next,|,save,reload,print,|,undo,redo,|,paste,color,date,char,comment,uncomment,break,watch,|,proc,|,~,wrap,locked" Default = "show-form,diff,diff-previous,diff-next,|,save,reload,print,|,undo,redo,|,paste,color,char,comment,uncomment,break,watch,|,proc,|,~,wrap,locked"
} }
} }
...@@ -863,10 +863,10 @@ Public Sub Form_Open() ...@@ -863,10 +863,10 @@ Public Sub Form_Open()
$bSaveCurrentLayout = False $bSaveCurrentLayout = False
Me.Center Me.Center
btnClose.Raise btnClose.Raise
ipnOption_Click
End End
Public Sub btnClearCache_Click() Public Sub btnClearCache_Click()
If Message.Question(("Do you really want to clear the documentation cache?"), ("Clear"), ("Cancel")) <> 1 Then Return If Message.Question(("Do you really want to clear the documentation cache?"), ("Clear"), ("Cancel")) <> 1 Then Return
...@@ -1369,7 +1369,6 @@ End ...@@ -1369,7 +1369,6 @@ End
Public Sub Form_Close() Public Sub Form_Close()
CLayout.Exit
Settings.Save Settings.Save
End End
......
...@@ -1151,6 +1151,7 @@ End ...@@ -1151,6 +1151,7 @@ End
Public Sub Exit() Public Sub Exit()
CLayout.Exit
CSoftware.Exit CSoftware.Exit
CSampleCode.Exit CSampleCode.Exit
CLibraryInfo.Exit CLibraryInfo.Exit
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment