Skip to content

Commit

Permalink
fix #14571
Browse files Browse the repository at this point in the history
  • Loading branch information
namdre committed Mar 21, 2024
1 parent f3f6529 commit d5beac4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/utils/gui/windows/GUIDialog_ViewSettings.h
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,11 @@ class GUIDialog_ViewSettings : public FXDialogBox, public GUIPersistentWindowPos
*/
void setCurrentScheme(const std::string&);

void hide() {
saveWindowPos();
FXTopWindow::hide();
}

protected:
/// @brief The parent view (which settings are changed)
GUISUMOAbstractView* myParent = nullptr;
Expand Down

0 comments on commit d5beac4

Please sign in to comment.