diff options
Diffstat (limited to 'src/gui/viewport.cpp')
-rw-r--r-- | src/gui/viewport.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/viewport.cpp b/src/gui/viewport.cpp index 5175d683d..fcd62caa5 100644 --- a/src/gui/viewport.cpp +++ b/src/gui/viewport.cpp @@ -1033,3 +1033,9 @@ void Viewport::validateSpeed() const Game::instance()->setValidSpeed(); } } + +void Viewport::clearPopup() +{ + if (mPopupMenu) + mPopupMenu->clear(); +} |