forked from qt-creator/qt-creator
CppEditor: Fix inserting completion while in (local) rename mode
Fixes case 1 of QTCREATORBUG-14633. Task-number: QTCREATORBUG-14633 Change-Id: I1f57b8f831613668b85948f4ec588c4cf441b633 Reviewed-by: David Schulz <david.schulz@theqtcompany.com>
This commit is contained in:
committed by
David Schulz
parent
5088f07f39
commit
b36924c0e6
@@ -723,6 +723,14 @@ FollowSymbolUnderCursor *CppEditorWidget::followSymbolUnderCursorDelegate()
|
||||
return d->m_followSymbolUnderCursor.data();
|
||||
}
|
||||
|
||||
void CppEditorWidget::encourageApply()
|
||||
{
|
||||
if (d->m_localRenaming.encourageApply())
|
||||
return;
|
||||
|
||||
TextEditorWidget::encourageApply();
|
||||
}
|
||||
|
||||
void CppEditorWidget::abortDeclDefLink()
|
||||
{
|
||||
if (!d->m_declDefLink)
|
||||
|
||||
Reference in New Issue
Block a user