MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / onCurrentLayoutChanged

Method onCurrentLayoutChanged

pcsx2-qt/Debugger/Docking/DockMenuBar.cpp:126–136  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

124}
125
126void 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
138void DockMenuBar::onLockStateChanged(bool layout_locked)
139{

Callers 2

switchToLayoutMethod · 0.80
newLayoutClickedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected