first edition of the new editor view, splitting still missing

This commit is contained in:
mae
2009-01-16 17:34:34 +01:00
parent aaf7c8bc89
commit c0c5342386
19 changed files with 734 additions and 402 deletions

View File

@@ -738,9 +738,9 @@ void MainWindow::setFocusToEditor()
m_coreImpl->modeManager()->activateMode(QLatin1String(Constants::MODE_EDIT));
}
EditorGroup *group = m_editorManager->currentEditorGroup();
if (group && group->widget())
group->widget()->setFocus();
if (IEditor *editor = m_editorManager->currentEditor())
editor->widget()->setFocus();
if (focusWidget && focusWidget == qApp->focusWidget()) {
if (FindToolBarPlaceHolder::getCurrent())
FindToolBarPlaceHolder::getCurrent()->hide();