From b9203ee84953006547f4afd58f405874c87bf0dc Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:02:17 +0200 Subject: 3.1 --- ui/settingsDialog.cpp | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'ui/settingsDialog.cpp') diff --git a/ui/settingsDialog.cpp b/ui/settingsDialog.cpp index 250fbe68..90437453 100644 --- a/ui/settingsDialog.cpp +++ b/ui/settingsDialog.cpp @@ -938,8 +938,8 @@ FolderPairEnh getEnahncedPair(const BatchFolderPairPanel* panel) { return FolderPairEnh(wxToZ(panel->m_directoryLeft->GetValue()), wxToZ(panel->m_directoryRight->GetValue()), - panel->altSyncConfig, - panel->altFilter); + panel->getAltSyncConfig(), + panel->getAltFilterConfig()); } @@ -1153,9 +1153,7 @@ void BatchDialog::addFolderPair(const std::vector& FreeFileSync::setDirectoryName(zToWx(i->rightDirectory), newPair->m_directoryRight, newPair->m_dirPickerRight); //set alternate configuration - newPair->altSyncConfig = i->altSyncConfig; - newPair->altFilter = i->altFilter; - newPair->updateAltButtonColor(); + newPair->setValues(i->altSyncConfig, i->altFilter); } //set size of scrolled window const int visiblePairs = std::min(additionalFolderPairs.size() + 1, MAX_FOLDER_PAIRS); //up to MAX_FOLDER_PAIRS pairs shall be shown -- cgit