summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Wagner <rusty.wagner@gmail.com>2024-03-07 22:57:28 -0500
committerRusty Wagner <rusty.wagner@gmail.com>2024-03-07 22:57:28 -0500
commitd463358de929f7e1fc5c8787ef886861e745e1a7 (patch)
treeaecbe0069f6a6c3cc44796c1c5d9a586d804a41a
parent4620519194636807511824023284542848735054 (diff)
Always show sidebar icons if the widget is open, even if it has no widget and is set to hide when there isn't a widget
-rw-r--r--ui/sidebarcontainer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/sidebarcontainer.h b/ui/sidebarcontainer.h
index 2e7bff52..3ab30c83 100644
--- a/ui/sidebarcontainer.h
+++ b/ui/sidebarcontainer.h
@@ -135,6 +135,7 @@ public:
bool hasWidgetWithTitle(SidebarWidgetType* type, const QString& title) const;
bool activateWidgetWithTitle(SidebarWidgetType* type, const QString& title) const;
bool hasContent(SidebarWidgetType* type) const;
+ bool shouldHide(SidebarWidgetType* type) const;
virtual QSize sizeHint() const override;