Commit d6d830f5 authored by Pawel Polanski's avatar Pawel Polanski
Browse files

If the cert file for Symbian is defined the initial location of key file is the cert's folder

parent 95117681
......@@ -816,9 +816,10 @@ void S60CreatePackageStepConfigWidget::signatureChanged(QString certFile)
files = directory.entryList(QStringList(keys),
QDir::Files | QDir::NoSymLinks);
m_ui.keyFilePath->setPath(files.isEmpty()?
QString():
directory.filePath(files[0]));
if (files.isEmpty())
m_ui.keyFilePath->setInitialBrowsePathBackup(certFileInfo.path());
else
m_ui.keyFilePath->setPath(directory.filePath(files[0]));
}
updateFromUi();
}
......
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