diff --git a/src/domain/UBGraphicsTextItemDelegate.cpp b/src/domain/UBGraphicsTextItemDelegate.cpp index a72b32d8..3d05f1c7 100644 --- a/src/domain/UBGraphicsTextItemDelegate.cpp +++ b/src/domain/UBGraphicsTextItemDelegate.cpp @@ -386,7 +386,7 @@ void UBGraphicsTextItemDelegate::pickColor() curCursor.mergeCharFormat(format); delegated()->setTextCursor(curCursor); - if (!curCursor.hasComplexSelection()) + if (!curCursor.hasSelection()) UBGraphicsTextItem::lastUsedTextColor = selectedColor; delegated()->setSelected(true);