Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
mainwindow: prepared for multiple edit boxes
the edit box context menu actions are now saved in a member variable so that the action list can be reused in another edit box instance and the separators were given the main window instance as parent instead of the edit box instance the connection of the signals from the edit box instance and the setting of edit box context menu were moved to a new set active function, which can be called for any edit box instance, with preliminary code to disconnect the signals and remove the context menu actions of a previous edit box (commented since only one edit box is currently supported)
- Loading branch information
1 parent
f06fa7c
commit 5b87417
Showing
2 changed files
with
55 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters