diff options
author | Ken Moore <moorekou@gmail.com> | 2016-07-01 14:23:48 -0400 |
---|---|---|
committer | Ken Moore <moorekou@gmail.com> | 2016-07-01 14:23:48 -0400 |
commit | 400387f4f89a75c8c50eb72100e53e53fde5ad7e (patch) | |
tree | 3fee0dc71b5631c1e93f8f793c60fe56520000b7 /src-qt5 | |
parent | Merge branch 'master' of github.com:trueos/lumina (diff) | |
download | lumina-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.cpp | 2 |
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(); |