SANKORE-614

Text object :auto adjust of object works with fewest letters
preferencesAboutTextFull
Anatoly Mihalchenko 13 years ago
parent 759fe210a7
commit 5940b79ee4
  1. 2
      src/domain/UBGraphicsTextItemDelegate.cpp

@ -346,7 +346,7 @@ void UBGraphicsTextItemDelegate::ChangeTextSize(int delta)
cursor.setPosition (iCursorPos, QTextCursor::MoveAnchor); cursor.setPosition (iCursorPos, QTextCursor::MoveAnchor);
} }
delegated()->document()->adjustSize(); //delegated()->document()->adjustSize();
delegated()->setFont(curFont); delegated()->setFont(curFont);
UBSettings::settings()->setFontPointSize(iPointSize); UBSettings::settings()->setFontPointSize(iPointSize);
//returning initial selection //returning initial selection

Loading…
Cancel
Save