Commit 8b3de151 authored by Tobias Hunger's avatar Tobias Hunger

Hg: Add history completers to path choosers

Change-Id: Ia7bfb9d1703a73d358fdf05bf41223209c78d45c
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 7cef40ae
......@@ -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"));
}
......
......@@ -44,6 +44,7 @@ SrcDestDialog::SrcDestDialog(QWidget *parent) :
{
m_ui->setupUi(this);
m_ui->localPathChooser->setExpectedKind(Utils::PathChooser::ExistingDirectory);
m_ui->localPathChooser->setHistoryCompleter(QLatin1String("Hg.SourceDir.History"));
QUrl repoUrl(getRepoUrl());
if (repoUrl.isEmpty())
return;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment