summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/ttbopt.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2012-07-11 19:51:19 +0000
committerGeorge Hazan <george.hazan@gmail.com>2012-07-11 19:51:19 +0000
commit64d31b8977ef0ca184519a15bf30199e181458eb (patch)
tree7cb1b6ffb1be6a54d3fa4719f46d03e2d93f1aae /plugins/TopToolBar/ttbopt.cpp
parentb32056e3b0a762489026eb39d54d7cdaf05b37f2 (diff)
forgot to apply changes in TTB options dynamically
git-svn-id: http://svn.miranda-ng.org/main/trunk@909 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/TopToolBar/ttbopt.cpp')
-rw-r--r--plugins/TopToolBar/ttbopt.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/TopToolBar/ttbopt.cpp b/plugins/TopToolBar/ttbopt.cpp
index ed88b054b2..1938a710cd 100644
--- a/plugins/TopToolBar/ttbopt.cpp
+++ b/plugins/TopToolBar/ttbopt.cpp
@@ -127,6 +127,9 @@ void CancelProcess(HWND hwndDlg)
static void RecreateWindows()
{
+ if (g_ctrl->hWnd)
+ PostMessage(g_ctrl->hWnd, TTB_UPDATEFRAMEVISIBILITY, TRUE, 0);
+
mir_cslock lck(csButtonsHook);
for (int i = 0; i < Buttons.getCount(); i++) {
TopButtonInt *b = Buttons[i];