just noticed that clicking the button on the opacity slider causes the same misvalue problem - fixed

svn path=/trunk/kdebase/kwin/; revision=390378
This commit is contained in:
Thomas Lübking 2005-02-17 21:12:01 +00:00
parent de85f12894
commit 07906c47c0

View file

@ -134,7 +134,8 @@ void Workspace::resetClientOpacity()
{
active_popup_client->setCustomOpacityFlag(false);
active_popup_client->updateOpacity();
setTransButtonText(active_popup_client->opacityPercentage());
transSlider->setValue(100-active_popup_client->opacityPercentage());
setTransButtonText(100-active_popup_client->opacityPercentage());
}