fix parsing of binary train proparties
This commit is contained in:
parent
7a61dc9368
commit
57edc50b6b
3 changed files with 3 additions and 4 deletions
|
|
@ -50,6 +50,7 @@ ItemWidget::ItemWidget(std::weak_ptr<Item> item, QWidget *parent) :
|
|||
ui->radioButton_left->hide();
|
||||
ui->radioButton_right->hide();
|
||||
uint8_t functionMask = train->getFunctionMask();
|
||||
qDebug()<<"functionMask: "<<(int)functionMask;
|
||||
if(!(functionMask & (1 << 0)))
|
||||
ui->checkBox_f1->hide();
|
||||
if(!(functionMask & (1 << 1)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue