Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
GUI2/Modeless Dialog: minor cleanup, implement a TODO
* Use a unique_ptr for the window member. * Made use of the new remove_from_window_stack function (its impl was copied from this code) * Only attempt ows removal if window display mode is modeless (since if mode is tooltip, no ptr was added to the list anyway. # Conflicts: # src/gui/dialogs/modeless_dialog.cpp
- Loading branch information
Showing
2 changed files
with
8 additions
and
13 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