aboutsummaryrefslogtreecommitdiff
path: root/src-qt5
diff options
context:
space:
mode:
authorKen Moore <moorekou@gmail.com>2016-07-01 14:23:48 -0400
committerKen Moore <moorekou@gmail.com>2016-07-01 14:23:48 -0400
commit400387f4f89a75c8c50eb72100e53e53fde5ad7e (patch)
tree3fee0dc71b5631c1e93f8f793c60fe56520000b7 /src-qt5
parentMerge branch 'master' of github.com:trueos/lumina (diff)
downloadlumina-400387f4f89a75c8c50eb72100e53e53fde5ad7e.tar.gz
lumina-400387f4f89a75c8c50eb72100e53e53fde5ad7e.tar.bz2
lumina-400387f4f89a75c8c50eb72100e53e53fde5ad7e.zip
Ensure that lumina-config defaults to looking in the system-installed scripts directory for menu scripts.
Diffstat (limited to 'src-qt5')
-rw-r--r--src-qt5/core-utils/lumina-config/ScriptDialog.cpp2
1 files changed, 1 insertions, 1 deletions
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();
bgstack15