From a8fa4b0caac56132b898ae4a1969620a4228bb59 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Mon, 15 Jul 2019 12:30:42 +0200 Subject: [PATCH] fixed an issue where the cursor was no longer blinking after a color change --- src/domain/UBGraphicsTextItemDelegate.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/domain/UBGraphicsTextItemDelegate.cpp b/src/domain/UBGraphicsTextItemDelegate.cpp index a2f711fb..49f27c90 100644 --- a/src/domain/UBGraphicsTextItemDelegate.cpp +++ b/src/domain/UBGraphicsTextItemDelegate.cpp @@ -376,6 +376,7 @@ void UBGraphicsTextItemDelegate::pickColor() UBGraphicsTextItem::lastUsedTextColor = selectedColor; delegated()->setSelected(true); + delegated()->document()->adjustSize(); delegated()->contentsChanged(); } }