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

List:       kde-commits
Subject:    koffice/kspread/ui
From:       Stefan Nikolaus <nikolaus.kde () googlemail ! com>
Date:       2010-06-26 8:23:03
Message-ID: 20100626082303.9A97DAC8DF () svn ! kde ! org
[Download RAW message or body]

SVN commit 1142964 by nikolaus:

FIX:	Regression: Reenable splitting of selected ranges.



 M  +2 -1      CellToolBase.cpp  


--- trunk/koffice/kspread/ui/CellToolBase.cpp #1142963:1142964
@@ -1213,7 +1213,8 @@
     }
 
     // Drag & drop, if the selected area was hit.
-    if (hitSelection && !selection()->referenceSelectionMode()) {
+    const bool controlPressed = event->modifiers() & Qt::ControlModifier;
+    if (hitSelection && !controlPressed && !selection()->referenceSelectionMode()) {
         return new DragAndDropStrategy(this, event->point, event->modifiers());
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

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