summaryrefslogtreecommitdiff
path: root/plugins/TopToolBar/ttbopt.cpp
diff options
context:
space:
mode:
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];