Update deco buttons when allowed actions change

BUG: 246442
remotes/origin/Plasma/5.0
Thomas Lübking 15 years ago
parent 51ee04837f
commit eba4392272
  1. 3
      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()

Loading…
Cancel
Save