diff options
| author | George Hazan <ghazan@miranda.im> | 2019-03-05 21:10:22 +0300 | 
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2019-03-05 21:10:22 +0300 | 
| commit | d9fddc0cfa9066eb1b5ad3f4807b37426ae6ca88 (patch) | |
| tree | f09baaf9b91477d009cedc5bd77449b0fa3e3af7 /plugins/WhenWasIt/src | |
| parent | 8a1ff32e54b39ceef22df61bda17bbfda94918fc (diff) | |
Popup:
- wiping out checks for service presence;
- code cleaning
Diffstat (limited to 'plugins/WhenWasIt/src')
| -rw-r--r-- | plugins/WhenWasIt/src/dlg_handlers.cpp | 10 | 
1 files changed, 2 insertions, 8 deletions
diff --git a/plugins/WhenWasIt/src/dlg_handlers.cpp b/plugins/WhenWasIt/src/dlg_handlers.cpp index af551c5107..0ce375b103 100644 --- a/plugins/WhenWasIt/src/dlg_handlers.cpp +++ b/plugins/WhenWasIt/src/dlg_handlers.cpp @@ -217,14 +217,8 @@ INT_PTR CALLBACK DlgProcOptions(HWND hWnd, UINT msg, WPARAM wParam, LPARAM lPara  			CheckDlgButton(hWnd, IDC_USE_DIALOG, (commonData.bUseDialog) ? BST_CHECKED : BST_UNCHECKED);
  			EnableDialogGroup(hWnd, commonData.bUseDialog);
 -			if (ServiceExists(MS_POPUP_ADDPOPUPW)) {
 -				CheckDlgButton(hWnd, IDC_USE_POPUPS, commonData.bUsePopups ? BST_CHECKED : BST_UNCHECKED);
 -				EnablePopupsGroup(hWnd, commonData.bUsePopups);
 -			}
 -			else {
 -				EnableWindow(GetDlgItem(hWnd, IDC_USE_POPUPS), FALSE);
 -				EnablePopupsGroup(hWnd, FALSE);
 -			}
 +			CheckDlgButton(hWnd, IDC_USE_POPUPS, commonData.bUsePopups ? BST_CHECKED : BST_UNCHECKED);
 +			EnablePopupsGroup(hWnd, commonData.bUsePopups);
  			CheckDlgButton(hWnd, IDC_USE_CLISTICON, BST_CHECKED);
  			EnableWindow(GetDlgItem(hWnd, IDC_USE_CLISTICON), FALSE);
  | 
