summaryrefslogtreecommitdiff
path: root/src/plugins/qmakeprojectmanager/wizards
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-01-21 17:44:00 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-01-22 15:58:11 +0000
commit13b0106dcd163ce66bfff1947bcf6d61859f8d02 (patch)
tree9cf4a82c314dfc9e5a2b2ba13bb9bf6e786eb256 /src/plugins/qmakeprojectmanager/wizards
parent90e31668d6347076c0bc0d5af3772031bfb1d956 (diff)
downloadqt-creator-13b0106dcd163ce66bfff1947bcf6d61859f8d02.tar.gz
ProjectExplorer: Add history completion ability to SelectableFilesWidget
... and make use of it in project contexts. Fixes: QTCREATORBUG-19781 Change-Id: I4618b6e4a64b1aaa1352afcc98e4cc6e5fac1859 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/qmakeprojectmanager/wizards')
-rw-r--r--src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp b/src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp
index a75ab97db0..2c1621fcb0 100644
--- a/src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp
+++ b/src/plugins/qmakeprojectmanager/wizards/simpleprojectwizard.cpp
@@ -86,6 +86,8 @@ FilesSelectionWizardPage::FilesSelectionWizardPage(SimpleProjectWizardDialog *si
layout->addWidget(m_filesWidget);
m_filesWidget->setBaseDirEditable(false);
+ m_filesWidget->enableFilterHistoryCompletion
+ (ProjectExplorer::Constants::ADD_FILES_DIALOG_FILTER_HISTORY_KEY);
connect(m_filesWidget, &SelectableFilesWidget::selectedFilesChanged,
this, &FilesSelectionWizardPage::completeChanged);