[Pkg-owncloud-commits] [owncloud-client] 52/89: prevent crash on 'add folder'

Sandro Knauß hefee-guest at moszumanska.debian.org
Sat Dec 14 01:02:36 UTC 2013


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit 638b62a3ae4ec0e96f36b5890e5fc696e51eb2ea
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Mon Dec 9 15:57:27 2013 +0100

    prevent crash on 'add folder'
---
 src/mirall/folderwizard.cpp | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/src/mirall/folderwizard.cpp b/src/mirall/folderwizard.cpp
index ccb7421..353ef6b 100644
--- a/src/mirall/folderwizard.cpp
+++ b/src/mirall/folderwizard.cpp
@@ -433,7 +433,9 @@ FolderWizard::~FolderWizard()
 void FolderWizard::setFolderMap( const Folder::Map& fm)
 {
     _folderWizardSourcePage->setFolderMap( fm );
-    _folderWizardTargetPage->setFolderMap( fm );
+    if (!Theme::instance()->singleSyncFolder()) {
+       _folderWizardTargetPage->setFolderMap( fm );
+    }
 }
 
 } // end namespace

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list