fixed autocompletion error in hasSelection()

preferencesAboutTextFull
Clément Fauconnier 5 years ago
parent 80c63726f2
commit b7095072b3
  1. 2
      src/domain/UBGraphicsTextItemDelegate.cpp

@ -386,7 +386,7 @@ void UBGraphicsTextItemDelegate::pickColor()
curCursor.mergeCharFormat(format); curCursor.mergeCharFormat(format);
delegated()->setTextCursor(curCursor); delegated()->setTextCursor(curCursor);
if (!curCursor.hasComplexSelection()) if (!curCursor.hasSelection())
UBGraphicsTextItem::lastUsedTextColor = selectedColor; UBGraphicsTextItem::lastUsedTextColor = selectedColor;
delegated()->setSelected(true); delegated()->setSelected(true);

Loading…
Cancel
Save