From 400387f4f89a75c8c50eb72100e53e53fde5ad7e Mon Sep 17 00:00:00 2001 From: Ken Moore Date: Fri, 1 Jul 2016 14:23:48 -0400 Subject: Ensure that lumina-config defaults to looking in the system-installed scripts directory for menu scripts. --- src-qt5/core-utils/lumina-config/ScriptDialog.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src-qt5') diff --git a/src-qt5/core-utils/lumina-config/ScriptDialog.cpp b/src-qt5/core-utils/lumina-config/ScriptDialog.cpp index 2980a3e9..3218e3c0 100644 --- a/src-qt5/core-utils/lumina-config/ScriptDialog.cpp +++ b/src-qt5/core-utils/lumina-config/ScriptDialog.cpp @@ -54,7 +54,7 @@ void ScriptDialog::on_pushCancel_clicked(){ } void ScriptDialog::on_tool_getexec_clicked(){ - QString file = QFileDialog::getOpenFileName( this, tr("Select a menu script"), QDir::homePath() ); + QString file = QFileDialog::getOpenFileName( this, tr("Select a menu script"), LOS::LuminaShare()+"/menu-scripts/" ); if(file.isEmpty()){ return; } //cancelled ui->line_exec->setText(file); checkItems(); -- cgit