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

List:       kde-commits
Subject:    koffice/kspread/ui
From:       Marijn Kruisselbrink <m.kruisselbrink () student ! tue ! nl>
Date:       2010-07-30 4:30:40
Message-ID: 20100730043040.028C1AC7A9 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1156914 by mkruisselbrink:

unbreak ensureVisible() calls in kspread, seems this was forgotten when the behavior \
of the method was changed...

 M  +1 -1      CellToolBase.cpp  


--- trunk/koffice/kspread/ui/CellToolBase.cpp #1156913:1156914
@@ -1316,7 +1316,7 @@
     rect = rect & QRectF(QPointF(0.0, 0.0), sheet->documentSize());
 
     // Scroll to cell.
-    canvas()->canvasController()->ensureVisible(rect, true);
+    canvas()->canvasController()->ensureVisible(canvas()->viewConverter()->documentToView(rect), \
true);  }
 
 CellEditor* CellToolBase::editor() const


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

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