| 124 | } |
| 125 | |
| 126 | void DockMenuBar::onCurrentLayoutChanged(DockLayout::Index current_index) |
| 127 | { |
| 128 | m_ignore_current_tab_changed = true; |
| 129 | |
| 130 | if (current_index != DockLayout::INVALID_INDEX) |
| 131 | m_layout_switcher->setCurrentIndex(current_index); |
| 132 | else |
| 133 | m_layout_switcher->setCurrentIndex(m_plus_tab_index); |
| 134 | |
| 135 | m_ignore_current_tab_changed = false; |
| 136 | } |
| 137 | |
| 138 | void DockMenuBar::onLockStateChanged(bool layout_locked) |
| 139 | { |
no outgoing calls
no test coverage detected