forked from qt-creator/qt-creator
Editor: cleanup special cases for snippets.
This commit is contained in:
@@ -1822,9 +1822,6 @@ void CppCodeCompletion::complete(const TextEditor::CompletionItem &item, QChar t
|
||||
|
||||
Symbol *symbol = 0;
|
||||
|
||||
if (TextEditor::BaseTextEditor *edit = qobject_cast<TextEditor::BaseTextEditor *>(m_editor->widget()))
|
||||
edit->setNextChangeIsSnippetSafe();
|
||||
|
||||
if (item.data.isValid()) {
|
||||
if (item.data.canConvert<QString>()) {
|
||||
TextEditor::BaseTextEditor *edit = qobject_cast<TextEditor::BaseTextEditor *>(m_editor->widget());
|
||||
|
||||
Reference in New Issue
Block a user