mirror of
https://github.com/OpenMW/openmw.git
synced 2025-02-04 11:15:34 +00:00
Merged pull request #1819
This commit is contained in:
commit
29a1899045
1 changed files with 2 additions and 3 deletions
|
@ -43,7 +43,6 @@ void Launcher::AdvancedPage::on_runScriptAfterStartupBrowseButton_clicked()
|
||||||
QDir::currentPath(),
|
QDir::currentPath(),
|
||||||
QString(tr("Text file (*.txt)")));
|
QString(tr("Text file (*.txt)")));
|
||||||
|
|
||||||
|
|
||||||
if (scriptFile.isEmpty())
|
if (scriptFile.isEmpty())
|
||||||
return;
|
return;
|
||||||
|
|
||||||
|
@ -53,7 +52,7 @@ void Launcher::AdvancedPage::on_runScriptAfterStartupBrowseButton_clicked()
|
||||||
return;
|
return;
|
||||||
|
|
||||||
const QString path(QDir::toNativeSeparators(info.absoluteFilePath()));
|
const QString path(QDir::toNativeSeparators(info.absoluteFilePath()));
|
||||||
|
runScriptAfterStartupField->setText(path);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Launcher::AdvancedPage::loadSettings()
|
bool Launcher::AdvancedPage::loadSettings()
|
||||||
|
|
Loading…
Reference in a new issue