prevent focus loose without resizing textbox on each change

preferencesAboutTextFull
Clément Fauconnier 4 years ago
parent 6d2fd84472
commit 275096f1f5
  1. 4
      src/domain/UBGraphicsTextItemDelegate.cpp

@ -356,7 +356,7 @@ void UBGraphicsTextItemDelegate::pickFont()
delegated()->setTextCursor(curCursor);
delegated()->setSelected(true);
delegated()->document()->adjustSize();
delegated()->setFocus();
delegated()->contentsChanged();
}
}
@ -392,7 +392,7 @@ void UBGraphicsTextItemDelegate::pickColor()
}
delegated()->setSelected(true);
delegated()->document()->adjustSize();
delegated()->setFocus();
delegated()->contentsChanged();
}
}

Loading…
Cancel
Save