From b7095072b314519d6857305cbd48df3d45c6af5c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Fauconnier?= Date: Fri, 19 Jul 2019 09:18:46 +0200 Subject: [PATCH] fixed autocompletion error in hasSelection() --- src/domain/UBGraphicsTextItemDelegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);