Changeset View
Changeset View
Standalone View
Standalone View
kate/katemainwindow.cpp
Context not available. | |||||
1139 | 1139 | | |||
---|---|---|---|---|---|
1140 | void KateMainWindow::slotQuickOpen() | 1140 | void KateMainWindow::slotQuickOpen() | ||
1141 | { | 1141 | { | ||
1142 | /** | ||||
1143 | * toggle back to view manager when when quick open is already shown | ||||
1144 | */ | ||||
1145 | if (m_mainStackedWidget->currentWidget() == m_quickOpen) { | ||||
1146 | m_mainStackedWidget->setCurrentWidget(m_viewManager); | ||||
1147 | centralWidget()->setFocusProxy(m_viewManager); | ||||
1148 | return; | ||||
1149 | } | ||||
1150 | | ||||
1142 | /** | 1151 | /** | ||
1143 | * show quick open and pass focus to it | 1152 | * show quick open and pass focus to it | ||
1144 | */ | 1153 | */ | ||
Context not available. |