From eba4392272f99e18a0f77733f3d956d4944f6296 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Sun, 6 Feb 2011 16:42:45 +0100 Subject: [PATCH] Update deco buttons when allowed actions change BUG: 246442 --- client.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client.cpp b/client.cpp index f3132e050b..027e41b23e 100644 --- a/client.cpp +++ b/client.cpp @@ -2148,7 +2148,8 @@ void Client::updateAllowedActions(bool force) return; // TODO: This could be delayed and compressed - It's only for pagers etc. anyway info->setAllowedActions(allowed_actions); - // TODO: This should also tell the decoration, so that it can update the buttons + if (decoration) + decoration->reset(KDecoration::SettingButtons); } void Client::autoRaise()