Commits

Aleš Erjavec  committed b5bc81b

Update the opened tabs in ToolBox widget when setting the exclusive property.

  • Participants
  • Parent commits a50dd9b

Comments (0)

Files changed (1)

File Orange/OrangeCanvas/gui/toolbox.py

         if self.__exclusive != exclusive:
             self.__exclusive = exclusive
             self.__tabActionGroup.setExclusive(exclusive)
+            checked = self.__tabActionGroup.checkedAction()
+            # Trigger/toggle remaining open pages
+            if exclusive and checked is not None:
+                for page in self.__pages:
+                    if checked != page.action and page.action.isChecked():
+                        page.action.trigger()
 
     def exclusive(self):
         """