forked from qt-creator/qt-creator
Don't call abortMove() when the editor is not in renaming-state.
This commit is contained in:
@@ -861,6 +861,9 @@ void CPPEditor::onContentsChanged(int position, int charsRemoved, int charsAdded
|
||||
Q_UNUSED(position)
|
||||
Q_UNUSED(charsAdded)
|
||||
|
||||
if (m_currentRenameSelection == -1)
|
||||
return;
|
||||
|
||||
if (!m_inRename)
|
||||
abortRename();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user