Make completion box hide on an editor undo operation

This commit is contained in:
mae
2010-03-29 14:20:12 +02:00
parent 1699ec54c9
commit 17579bb97f
4 changed files with 19 additions and 2 deletions

View File

@@ -134,6 +134,8 @@ CompletionWidget::CompletionWidget(CompletionSupport *support, ITextEditable *ed
this, SIGNAL(completionListClosed()));
connect(m_completionListView, SIGNAL(activated(QModelIndex)),
SLOT(closeList(QModelIndex)));
connect(editor, SIGNAL(contentsChangedBecauseOfUndo()),
this, SLOT(closeList()));
}
CompletionWidget::~CompletionWidget()