Просмотр исходного кода

do not focus VEdit when navigating through the outline

Signed-off-by: Le Tan <[email protected]>
Le Tan 9 лет назад
Родитель
Сommit
77d8daa5ec
1 измененных файлов с 0 добавлено и 2 удалено
  1. 0 2
      src/vedit.cpp

+ 0 - 2
src/vedit.cpp

@@ -96,8 +96,6 @@ void VEdit::scrollToLine(int p_lineNumber)
     QTextCursor cursor(document()->findBlockByLineNumber(p_lineNumber));
     cursor.movePosition(QTextCursor::EndOfBlock);
     setTextCursor(cursor);
-
-    setFocus();
 }
 
 bool VEdit::isModified() const