Commit 0cb39c61 authored by Tobias Hunger's avatar Tobias Hunger
Browse files

QmlJsEditor: Add history completer to path choosers



Change-Id: Ibb5df238b2b8155e971e17aa9aa52d486a7da775
Reviewed-by: default avatarFawzi Mohamed <fawzi.mohamed@digia.com>
parent 75a3cfce
......@@ -66,6 +66,7 @@ void ComponentNameDialog::go(QString *proposedName,
d.ui->componentNameEdit->setForceFirstCapitalLetter(true);
d.ui->componentNameEdit->setText(*proposedName);
d.ui->pathEdit->setExpectedKind(Utils::PathChooser::ExistingDirectory);
d.ui->pathEdit->setHistoryCompleter(QLatin1String("QmlJs.Component.History"));
d.ui->pathEdit->setPath(*proposedPath);
if (QDialog::Accepted == d.exec()) {
......
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