Skip to content

Commit

Permalink
Update fontswidget.cpp
Browse files Browse the repository at this point in the history
Fix typo.
  • Loading branch information
rodlie committed Sep 1, 2024
1 parent dde0043 commit 2adc94b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/GUI/fontswidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -403,8 +403,8 @@ void FontsWidget::setBoxTarget(TextBox * const target)
{
mBoxTarget.assign(target);
if (target) {
connect(this, &FontsWidget::fontSizeChanged,
target, [target](const qreal &value) {
mBoxTarget << connect(this, &FontsWidget::fontSizeChanged,
target, [target](const qreal &value) {
target->setFontSize(value);
Document::sInstance->actionFinished();
});
Expand Down

0 comments on commit 2adc94b

Please sign in to comment.