diff --git a/libs/widgets/tabbable.cc b/libs/widgets/tabbable.cc index 05e66ccd8f..c9b6660f45 100644 --- a/libs/widgets/tabbable.cc +++ b/libs/widgets/tabbable.cc @@ -539,6 +539,8 @@ Tabbable::showhide_att_right (bool yn) } else { content_right_vbox.hide (); } + + StateChange (*this); } void @@ -563,6 +565,8 @@ Tabbable::showhide_att_left (bool yn) } else { content_att_left.hide (); } + + StateChange (*this); } void @@ -587,6 +591,8 @@ Tabbable::showhide_att_bottom (bool yn) } else { content_att_bottom.hide (); } + + StateChange (*this); } void diff --git a/libs/widgets/widgets/tabbable.h b/libs/widgets/widgets/tabbable.h index 755e3e1454..027c966a86 100644 --- a/libs/widgets/widgets/tabbable.h +++ b/libs/widgets/widgets/tabbable.h @@ -102,6 +102,10 @@ public: void att_right_button_toggled(); void att_bottom_button_toggled(); + bool att_left_visible () const { return content_att_left.get_visible (); } + bool att_right_visible () const { return content_att_right.get_visible (); } + bool att_bottom_visible () const { return content_att_bottom.get_visible (); } + protected: virtual void showhide_att_left (bool yn); virtual void showhide_att_right (bool yn);