validate deleted moving window in desktop grid effect
BUG:233363 CCBUG:267562
This commit is contained in:
parent
25fd8bd0d3
commit
f8cab9a6da
1 changed files with 2 additions and 0 deletions
|
@ -430,6 +430,8 @@ void DesktopGridEffect::slotWindowClosed(EffectWindow* w)
|
|||
|
||||
void DesktopGridEffect::slotWindowDeleted(EffectWindow* w)
|
||||
{
|
||||
if (w == windowMove)
|
||||
windowMove = 0;
|
||||
for (QHash< DesktopButtonsView*, EffectWindow*>::iterator it = m_desktopButtonsViews.begin();
|
||||
it != m_desktopButtonsViews.end(); ++it) {
|
||||
if (it.value() && it.value() == w) {
|
||||
|
|
Loading…
Reference in a new issue