diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:02:17 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 17:02:17 +0200 |
commit | b9203ee84953006547f4afd58f405874c87bf0dc (patch) | |
tree | 9e41f1533f120e9268e86658c52458630ffd718a /ui/settingsDialog.cpp | |
parent | 3.0 (diff) | |
download | FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.gz FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.tar.bz2 FreeFileSync-b9203ee84953006547f4afd58f405874c87bf0dc.zip |
3.1
Diffstat (limited to 'ui/settingsDialog.cpp')
-rw-r--r-- | ui/settingsDialog.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
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::FolderPairEnh>& 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 |