fix ewidget::show() (fixes the BlinkingWidget)
authorStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 5 Apr 2006 09:28:37 +0000 (09:28 +0000)
committerStefan Pluecken <stefan.pluecken@multimedia-labs.de>
Wed, 5 Apr 2006 09:28:37 +0000 (09:28 +0000)
lib/gui/ewidget.cpp

index cbc1a8c05f8e9b9687df89820c671d52714f3eda..ef784997ef7dc9e7ae263bc4b7c2cb18b4b0662d 100644 (file)
@@ -109,7 +109,7 @@ void eWidget::show()
        while (root && !root->m_desktop)
        {
                root = root->m_parent;
-               if (root)
+               if (!root)
                {
                                /* oops: our root widget does not have a desktop associated. 
                                        probably somebody already erased the root, but tries some