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

List:       kde-commits
Subject:    koffice/krita/ui
From:       Cyrille Berger <cyb () lepi ! org>
Date:       2009-08-31 21:07:24
Message-ID: 1251752844.011009.14589.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1017908 by berger:

refresh the display after a cut


 M  +2 -1      kis_selection_manager.cc  


--- trunk/koffice/krita/ui/kis_selection_manager.cc #1017907:1017908
@@ -387,10 +387,11 @@
     Q_CHECK_PTR(t);
 
     layer->paintDevice()->clearSelection(m_view->selection());
-
+    QRect rect = m_view->selection()->selectedRect();
     deselect();
 
     m_view->document()->addCommand(t);
+    layer->setDirty(rect);
 }
 
 void KisSelectionManager::copy()
[prev in list] [next in list] [prev in thread] [next in thread] 

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