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

List:       kde-commits
Subject:    =?utf-8?q?=5Bkoffice/koffice/change-tracking=5D_plugins/textshap?=
From:       Ganesh Paramasivam <ganesh () crystalfab ! com>
Date:       2011-02-22 12:55:41
Message-ID: 20110222125541.215D7A609B () git ! kde ! org
[Download RAW message or body]

Git commit b849ed47f2173bf89b428d8860d0ab8d751f751e by Ganesh Paramasivam.
Committed on 22/02/2011 at 13:55.
Pushed by ganeshp into branch 'koffice/change-tracking'.

Fixing a problem where-in selections within a change region was not visible when show changes was enabled

M  +1    -1    plugins/textshape/Layout.cpp     

http://commits.kde.org/koffice/b849ed47f2173bf89b428d8860d0ab8d751f751e

diff --git a/plugins/textshape/Layout.cpp b/plugins/textshape/Layout.cpp
index 3897dcd..6bcf818 100644
--- a/plugins/textshape/Layout.cpp
+++ b/plugins/textshape/Layout.cpp
@@ -1220,7 +1220,7 @@ void Layout::drawFrame(QTextFrame *frame, QPainter *painter, const KoTextDocumen
                         fr.start = currentFragment.position() - block.position();
                         fr.length = currentFragment.length();
                         fr.format = format;
-                        selections.append(fr);
+                        selections.prepend(fr);
                     }
                 }
             }

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

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