summaryrefslogtreecommitdiff
path: root/plugins/TabSRMM/src/msgdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/TabSRMM/src/msgdialog.cpp')
-rw-r--r--plugins/TabSRMM/src/msgdialog.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/TabSRMM/src/msgdialog.cpp b/plugins/TabSRMM/src/msgdialog.cpp
index 39dd1d3f10..8abe5a823d 100644
--- a/plugins/TabSRMM/src/msgdialog.cpp
+++ b/plugins/TabSRMM/src/msgdialog.cpp
@@ -3226,10 +3226,7 @@ INT_PTR CALLBACK DlgProcMessage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lP
}
DestroyWindow(hwndDlg);
- if (iTabs == 1)
- PostMessage(GetParent(GetParent(hwndDlg)), WM_CLOSE, 0, 1);
- else
- SendMessage(pContainer->hwnd, WM_SIZE, 0, 0);
+ SendMessage(pContainer->hwnd, WM_SIZE, 0, 0);
}
break;