Skip to content

Commit

Permalink
Fix possible stack overflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
john-preston committed Mar 17, 2023
1 parent 328b75a commit 3185e6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/widgets/popup_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,7 @@ bool PopupMenu::eventFilter(QObject *o, QEvent *e) {
}

void PopupMenu::hideMenu(bool fast) {
if (isHidden()) {
if (isHidden() || (_hiding && !fast)) {
return;
}
if (_parent && !_a_opacity.animating()) {
Expand Down

0 comments on commit 3185e6c

Please sign in to comment.