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

List:       kde-commits
Subject:    koffice/plugins/pictureshape
From:       Carlos Licea <carlos_licea () hotmail ! com>
Date:       2010-05-05 4:43:06
Message-ID: 20100505044306.859E7AC8AC () svn ! kde ! org
[Download RAW message or body]

SVN commit 1122940 by clicea:

Call update if it's needed.

 M  +3 -0      PictureShape.cpp  


--- trunk/koffice/plugins/pictureshape/PictureShape.cpp #1122939:1122940
@@ -269,5 +269,8 @@
 
 void PictureShape::setMode(PictureShape::PictureMode mode)
 {
+    if( mode != m_mode ) {
     m_mode = mode;
+        update();
 }
+}
[prev in list] [next in list] [prev in thread] [next in thread] 

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