Skip to content
Snippets Groups Projects
Commit 601776ef authored by gambas's avatar gambas
Browse files

Menu editor: Always check the menu structure before saving it.

[DEVELOPMENT ENVIRONMENT]
* BUG: Menu editor: Always check the menu structure before saving it.
parent ab3963c9
No related branches found
No related tags found
No related merge requests found
Pipeline #24619968 passed
......@@ -74,6 +74,10 @@ Public Sub Form_Close()
If $bModified Then
Select Case Message.Warning(("Menus have been modified!"), ("Save"), ("Ignore"), ("Cancel"))
Case 1
If CheckMenu() Then
Stop Event
Return
Endif
SaveAllMenu
Case 2
Case 3
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment