Commit 5940b79e authored by Anatoly Mihalchenko's avatar Anatoly Mihalchenko

SANKORE-614

Text object :auto adjust of object works with fewest letters
parent 759fe210
......@@ -346,7 +346,7 @@ void UBGraphicsTextItemDelegate::ChangeTextSize(int delta)
cursor.setPosition (iCursorPos, QTextCursor::MoveAnchor);
}
delegated()->document()->adjustSize();
//delegated()->document()->adjustSize();
delegated()->setFont(curFont);
UBSettings::settings()->setFontPointSize(iPointSize);
//returning initial selection
......
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