don't bother hiding if we're not visible
This commit is contained in:
parent
9e314fde8d
commit
575057e878
@ -753,6 +753,10 @@ Dialog::ResizeCorners Dialog::resizeCorners() const
|
||||
|
||||
void Dialog::animatedHide(Plasma::Direction direction)
|
||||
{
|
||||
if (!isVisible()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (!KWindowSystem::compositingActive()) {
|
||||
hide();
|
||||
return;
|
||||
|
Loading…
x
Reference in New Issue
Block a user