diff --git a/src/insets/InsetCollapsable.cpp b/src/insets/InsetCollapsable.cpp index 95243082d8..9e0394f621 100644 --- a/src/insets/InsetCollapsable.cpp +++ b/src/insets/InsetCollapsable.cpp @@ -528,9 +528,11 @@ void InsetCollapsable::doDispatch(Cursor & cur, FuncRequest & cmd) case LFUN_MOUSE_RELEASE: if (cmd.button() == mouse_button::button3) { // There is no button to right click: - if (geometry() == Corners || + if (decoration() == Minimalistic || + geometry() == Corners || geometry() == SubLabel || - geometry() == NoButton) { + geometry() == NoButton + ) { if (status_ == Open) setStatus(cur, Collapsed); else diff --git a/src/insets/InsetCollapsable.h b/src/insets/InsetCollapsable.h index c507cda475..6b4a91e840 100644 --- a/src/insets/InsetCollapsable.h +++ b/src/insets/InsetCollapsable.h @@ -103,7 +103,7 @@ public: * -------------+------------------------------- * Classic | *) TopButton, <--x) ButtonOnly * | LeftButton - * Minimalistic | ButtonOnly NoButton + * Minimalistic | NoButton ButtonOnly * Conglomerate | SubLabel Corners * --------------------------------------------- * *) toggled by openinlined_