diff options
Diffstat (limited to 'src/gui/popupmanager.cpp')
-rw-r--r-- | src/gui/popupmanager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/popupmanager.cpp b/src/gui/popupmanager.cpp index 3aed639e9..134aaac7b 100644 --- a/src/gui/popupmanager.cpp +++ b/src/gui/popupmanager.cpp @@ -76,7 +76,7 @@ void PopupManager::hidePopupMenu() void PopupManager::hideItemPopup() { #ifndef DYECMD - if (itemPopup) + if (itemPopup != nullptr) itemPopup->hide(); #endif // DYECMD } |