From c8e0e909b4a8d18319fc65434a10dc446434817c Mon Sep 17 00:00:00 2001 From: Daniel Wilhelm Date: Fri, 18 Apr 2014 17:19:49 +0200 Subject: 5.3 --- ui/folder_pair.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'ui/folder_pair.h') diff --git a/ui/folder_pair.h b/ui/folder_pair.h index 7b1e7643..d80d8a05 100644 --- a/ui/folder_pair.h +++ b/ui/folder_pair.h @@ -151,7 +151,7 @@ private: CompConfig cmpCfg = altCompConfig.get() ? *altCompConfig : mainCfg.cmpConfig; - if (showCompareCfgDialog(cmpCfg) == ReturnSmallDlg::BUTTON_OKAY) + if (showCompareCfgDialog(getParentWindow(), cmpCfg) == ReturnSmallDlg::BUTTON_OKAY) { altCompConfig = std::make_shared(cmpCfg); refreshButtons(); @@ -167,7 +167,8 @@ private: CompConfig cmpCfg = altCompConfig.get() ? *altCompConfig : mainCfg.cmpConfig; SyncConfig syncCfg = altSyncConfig.get() ? *altSyncConfig : mainCfg.syncCfg; - if (showSyncConfigDlg(cmpCfg.compareVar, + if (showSyncConfigDlg(getParentWindow(), + cmpCfg.compareVar, syncCfg, nullptr, nullptr) == ReturnSyncConfig::BUTTON_OKAY) //optional input parameter @@ -183,7 +184,8 @@ private: { FilterConfig localFiltTmp = localFilter; - if (showFilterDialog(false, //is local filter dialog + if (showFilterDialog(getParentWindow(), + false, //is local filter dialog localFiltTmp) == ReturnSmallDlg::BUTTON_OKAY) { localFilter = localFiltTmp; -- cgit