Skip to content

Commit

Permalink
Update fontswidget.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
rodlie committed Sep 1, 2024
1 parent 2adc94b commit 42d7c5a
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 @@ -424,12 +424,12 @@ void FontsWidget::setBoxTarget(TextBox * const target)
Document::sInstance->actionFinished();
});
mBoxTarget << connect(this, &FontsWidget::textAlignmentChanged,
target, [target](const Qt::Alignment align) {
target, [target](const Qt::Alignment &align) {
target->setTextHAlignment(align);
Document::sInstance->actionFinished();
});
mBoxTarget << connect(this, &FontsWidget::textVAlignmentChanged,
target, [target](const Qt::Alignment align) {
target, [target](const Qt::Alignment &align) {
target->setTextVAlignment(align);
Document::sInstance->actionFinished();
});
Expand Down

0 comments on commit 42d7c5a

Please sign in to comment.