Commit d0532533 authored by Aleksei Kanash's avatar Aleksei Kanash

Fix to SANKORE-408.

parent 9df0997b
...@@ -309,6 +309,7 @@ void UBGraphicsTextItemDelegate::ChangeTextSize(int delta) ...@@ -309,6 +309,7 @@ void UBGraphicsTextItemDelegate::ChangeTextSize(int delta)
int iCursorPos = startPos; int iCursorPos = startPos;
// we search continuous blocks of the text with the same PointSize and allpy new settings for them. // we search continuous blocks of the text with the same PointSize and allpy new settings for them.
cursor.setPosition (startPos, QTextCursor::MoveAnchor);
while(iCursorPos < endPos) while(iCursorPos < endPos)
{ {
bEndofTheSameBlock = false; bEndofTheSameBlock = false;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment