Commit b7095072 authored by Clément Fauconnier's avatar Clément Fauconnier

fixed autocompletion error in hasSelection()

parent 80c63726
......@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment