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
......@@ -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();
......
Markdown is supported
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