diff --git a/apps/launcher/advancedpage.cpp b/apps/launcher/advancedpage.cpp index b0a35f0a5..3a4c50e9d 100644 --- a/apps/launcher/advancedpage.cpp +++ b/apps/launcher/advancedpage.cpp @@ -43,7 +43,6 @@ void Launcher::AdvancedPage::on_runScriptAfterStartupBrowseButton_clicked() QDir::currentPath(), QString(tr("Text file (*.txt)"))); - if (scriptFile.isEmpty()) return; @@ -53,7 +52,7 @@ void Launcher::AdvancedPage::on_runScriptAfterStartupBrowseButton_clicked() return; const QString path(QDir::toNativeSeparators(info.absoluteFilePath())); - + runScriptAfterStartupField->setText(path); } bool Launcher::AdvancedPage::loadSettings() @@ -168,4 +167,4 @@ void Launcher::AdvancedPage::saveSettingBool(QCheckBox *checkbox, const std::str void Launcher::AdvancedPage::slotLoadedCellsChanged(QStringList cellNames) { loadCellsForAutocomplete(cellNames); -} \ No newline at end of file +}