diff options
Diffstat (limited to 'src/gui/popups/popupmenu.cpp')
-rw-r--r-- | src/gui/popups/popupmenu.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popups/popupmenu.cpp b/src/gui/popups/popupmenu.cpp index f01a57a4e..591ccf540 100644 --- a/src/gui/popups/popupmenu.cpp +++ b/src/gui/popups/popupmenu.cpp @@ -1884,7 +1884,7 @@ void PopupMenu::showPopup(const int x, const int y, Button *const button) for (std::vector<Button *>::const_iterator it = names.begin(), it_end = names.end(); it != it_end; ++ it) { - const Button *const btn = dynamic_cast<const Button*>(*it); + const Button *const btn = *it; if (!btn || btn->getActionEventId() == "SET") continue; |