Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Editor/Context Manager: cleaned up context refresh code
This used to need to be a class of its own in order to store some info prior to switching the context, but that's not the case anymore. Moved map_context_refresher::refresh into context_manager. Also moved the set_window_title call into the function as well, since it was called in all three places the context refresher was used.
- Loading branch information
Showing
2 changed files
with
28 additions
and
53 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