diff --git a/src/bundles/ui/src/widgets/tabbedtoolbar.py b/src/bundles/ui/src/widgets/tabbedtoolbar.py
index 92e1be22c..37f5e6624 100644
|
a
|
b
|
class _Section(QWidgetAction):
|
| 244 | 244 | self._layout_buttons(w) |
| 245 | 245 | w.updateGeometry() |
| 246 | 246 | w.adjustSize() |
| | 247 | self._redo_pending = False |
| 247 | 248 | |
| 248 | 249 | def set_compact(self, on_off): |
| 249 | 250 | if self.compact == on_off: |
| … |
… |
class _Section(QWidgetAction):
|
| 342 | 343 | return |
| 343 | 344 | button_info.enabled = enabled |
| 344 | 345 | if redo: |
| 345 | | self._redo_layout() |
| | 346 | pending = getattr(self, '_redo_pending', False) |
| | 347 | if not pending: |
| | 348 | from Qt.QtCore import QTimer |
| | 349 | QTimer.singleShot(10, self._redo_layout) |
| | 350 | self._redo_pending = True |
| 346 | 351 | |
| 347 | 352 | |
| 348 | 353 | class TabbedToolbar(QTabWidget): |