diff options
author | Tim E. Real <termtech@rogers.com> | 2011-05-14 18:26:21 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2011-05-14 18:26:21 +0000 |
commit | 0021af8ef6f76dd4575bc74da2b20431d58a8f7e (patch) | |
tree | e7b4af29f08a377373f72e2154a8b18d983f526e | |
parent | cce71cb04c36b199b079faa8f6306e43e9605297 (diff) |
Fixed problem with project save dialog missing a forward slash '/'.
-rw-r--r-- | muse2/ChangeLog | 3 | ||||
-rw-r--r-- | muse2/muse/widgets/projectcreateimpl.cpp | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog index 05f79fe0..9379bdf8 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -1,3 +1,6 @@ +14.05.2011: + - Fixed problem with project save dialog missing a forward slash '/'. (Tim) + ~/.config was being polluted with wrong folders. Fixed ProjectCreateImpl::updateDirectoryPath(). 13.05.2011: - New spanish translation from Cristian Ramos (rj) - Added dialog to remove unused wave files (rj) diff --git a/muse2/muse/widgets/projectcreateimpl.cpp b/muse2/muse/widgets/projectcreateimpl.cpp index d455c917..369e806a 100644 --- a/muse2/muse/widgets/projectcreateimpl.cpp +++ b/muse2/muse/widgets/projectcreateimpl.cpp @@ -45,12 +45,13 @@ void ProjectCreateImpl::updateDirectoryPath() if (createFolderCheckbox->isChecked()) { if (!projectNameEdit->text().isEmpty()) name = projectNameEdit->text() + "/" + projectNameEdit->text() + ".med"; - storageDirEdit->setText(directoryPath + name ); + //storageDirEdit->setText(directoryPath + name ); } else { if (!projectNameEdit->text().isEmpty()) name = projectNameEdit->text() + ".med"; - storageDirEdit->setText(directoryPath +"/" + name); + //storageDirEdit->setText(directoryPath +"/" + name); } + storageDirEdit->setText(directoryPath +"/" + name ); // Tim } QString ProjectCreateImpl::getProjectPath() |