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

List:       kde-commits
Subject:    KDE/kdegraphics/kolourpaint/tools/selection
From:       Christoph Feck <christoph () maxiom ! de>
Date:       2010-08-29 18:43:21
Message-ID: 20100829184321.DB1A3AC86C () svn ! kde ! org
[Download RAW message or body]

SVN commit 1169587 by cfeck:

Make sure we have a selection before deleting it

CCBUG: 219344


 M  +1 -0      kpAbstractSelectionTool_Create.cpp  


--- trunk/KDE/kdegraphics/kolourpaint/tools/selection/kpAbstractSelectionTool_Create.cpp #1169586:1169587
@@ -224,6 +224,7 @@
     d->createNOPTimer->stop ();
 
     // TODO: should we give the user back the selection s/he had before (if any)?
+    if (document ()->selection ())
     document ()->selectionDelete ();
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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