SVN commit 891011 by zwabel: Don't crash when no editor was found M +3 -1 sourceformattersettings.cpp --- trunk/KDE/kdevplatform/plugins/sourceformatter/sourceformattersettings.cpp #891010:891011 @@ -64,9 +64,11 @@ { // add texteditor preview KTextEditor::Editor *editor = KTextEditor::EditorChooser::editor(); - if (!editor) + if (!editor) { KMessageBox::error(this, i18n("A KDE text-editor component could not be found.\n" "Please check your KDE installation.")); + return; + } m_document = editor->createDocument(this);