Fix bug. Values "0" and "1" mean for us the same.
--HG-- branch : feature
This commit is contained in:
parent
c989cdf048
commit
9202418d7c
|
@ -96,7 +96,7 @@ void DialogEditLabel::ShowLineDetails()
|
|||
|
||||
const int lineAlignment = line->textAlignment();
|
||||
|
||||
if (lineAlignment & Qt::AlignLeft)
|
||||
if (lineAlignment == 0 || lineAlignment & Qt::AlignLeft)
|
||||
{
|
||||
ui->toolButtonTextLeft->setChecked(true);
|
||||
ui->toolButtonTextCenter->setChecked(false);
|
||||
|
|
Loading…
Reference in New Issue
Block a user