diff options
author | Robert Jonsson <spamatica@gmail.com> | 2010-12-27 12:30:47 +0000 |
---|---|---|
committer | Robert Jonsson <spamatica@gmail.com> | 2010-12-27 12:30:47 +0000 |
commit | 1a0a3e5edba1a6ed1bd1d26f3fca5bbacacd7091 (patch) | |
tree | d3c14cb917ff6d090863838c05714967666041a7 /muse2/muse | |
parent | a334344b33b388f09b5336ce3bcad3525462a528 (diff) |
open dialog changed to view stored project
Diffstat (limited to 'muse2/muse')
-rw-r--r-- | muse2/muse/widgets/filedialog.cpp | 4 | ||||
-rw-r--r-- | muse2/muse/widgets/projectcreate.ui | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/muse2/muse/widgets/filedialog.cpp b/muse2/muse/widgets/filedialog.cpp index 28c65ba5..d2b189b6 100644 --- a/muse2/muse/widgets/filedialog.cpp +++ b/muse2/muse/widgets/filedialog.cpp @@ -16,6 +16,7 @@ #include "icons.h" #include "filedialog.h" #include "../globals.h" +#include "gconfig.h" MFileDialog::ViewType MFileDialog::lastViewUsed = GLOBAL_VIEW; QString MFileDialog::lastUserDir = ""; @@ -130,7 +131,8 @@ void MFileDialog::projectToggled(bool flag) if (museProject == museProjectInitPath ) { // if project path is uninitialized, meaning it is still set to museProjectInitPath. // then project path is set to current pwd instead. - s = QString(getcwd(0,0)) + QString("/"); + //s = QString(getcwd(0,0)) + QString("/"); + s = config.projectBaseFolder; } else s = museProject + QString("/"); // + baseDir; diff --git a/muse2/muse/widgets/projectcreate.ui b/muse2/muse/widgets/projectcreate.ui index 7cb73a82..406c83d6 100644 --- a/muse2/muse/widgets/projectcreate.ui +++ b/muse2/muse/widgets/projectcreate.ui @@ -71,7 +71,7 @@ <item> <widget class="QCheckBox" name="createFolderCheckbox"> <property name="text"> - <string>Create project folder (always use for audio projects)</string> + <string>Create project folder (recommended for audio projects)</string> </property> </widget> </item> |