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

This commit is contained in:
Roberto Raggi
2009-07-02 18:38:21 +02:00
parent 7efeb1042e
commit 981b1354cc

View File

@@ -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();