Commit bb567ef6 authored by mae's avatar mae Committed by Thorbjørn Lindeijer
Browse files

suppress useless warning

(cherry picked from commit 982f97e4)
parent 19ac943c
......@@ -487,9 +487,9 @@ void EditorView::updateEditorHistory(IEditor *editor)
void EditorView::addCurrentPositionToNavigationHistory(IEditor *editor, const QByteArray &saveState)
if (editor && editor != currentEditor()) {
qDebug() << Q_FUNC_INFO << "this should not happen!";
return; // we only save editor sate for the current editor, when the user interacts
if (!editor)
editor = currentEditor();
if (!editor)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment