Skip to content
Snippets Groups Projects
Commit 981b1354 authored by Roberto Raggi's avatar Roberto Raggi
Browse files

Don't call abortMove() when the editor is not in renaming-state.

parent 7efeb104
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment