Hg: Add history completers to path choosers

Change-Id: Ia7bfb9d1703a73d358fdf05bf41223209c78d45c
Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
This commit is contained in:
Tobias Hunger
2013-11-25 14:34:58 +01:00
parent 7cef40ae25
commit 8b3de15100
2 changed files with 2 additions and 0 deletions

View File

@@ -45,6 +45,7 @@ OptionsPageWidget::OptionsPageWidget(QWidget *parent) :
{
m_ui.setupUi(this);
m_ui.commandChooser->setExpectedKind(Utils::PathChooser::ExistingCommand);
m_ui.commandChooser->setHistoryCompleter(QLatin1String("Mercurial.Command.History"));
m_ui.commandChooser->setPromptDialogTitle(tr("Mercurial Command"));
}