Commit 58b009d3 authored by mae's avatar mae

fix a small "flicker" issue when aborting or accepting renaming

parent c1120587
......@@ -774,10 +774,10 @@ void CPPEditor::abortRename()
{
if (m_currentRenameSelection < 0)
return;
m_renameSelections[m_currentRenameSelection].format = m_occurrencesFormat;
m_currentRenameSelection = -1;
m_currentRenameSelectionBegin = QTextCursor();
m_currentRenameSelectionEnd = QTextCursor();
m_renameSelections.clear();
setExtraSelections(CodeSemanticsSelection, m_renameSelections);
}
......
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