[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/krita/ui
From:       Gábor Lehel <illissius () gmail ! com>
Date:       2005-12-31 18:26:37
Message-ID: 1136053597.053563.10122.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 492958 by illissius:

fix: after dis/enabling OpenGL, the layerbox would be cleared, and adding a layer would crash.

 M  +2 -1      kis_view.cc  


--- trunk/koffice/krita/ui/kis_view.cc #492957:492958
@@ -2478,6 +2478,8 @@
                     SLOT(slotImageSizeChanged(Q_INT32, Q_INT32)));
         }
     }
+
+    m_layerBox -> setImage(m_current);
 }
 
 void KisView::disconnectCurrentImg()
@@ -2863,7 +2865,6 @@
     }
 #endif
     connectCurrentImg();
-    m_layerBox -> setImage(m_current);
     m_current -> notify();
 
     zoomAroundPoint(0, 0, 1.0);
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic