@ -392,6 +392,7 @@ void UBGraphicsTextItemDelegate::alignButtonProcess()
delegated()->setTextCursor(cur);
cur.setBlockFormat(fmt);
delegated()->setFocus();
}
qDebug() << "sender process" << sndr;
@ -138,7 +138,6 @@ class UBGraphicsTextItemDelegate : public UBGraphicsItemDelegate
DelegateButton* mColorButton;
DelegateButton* mDecreaseSizeButton;
DelegateButton* mIncreaseSizeButton;
DelegateButton* mAlignButton;
int mLastFontPixelSize;