TableWidget only used if -D TABLE_LAYOUT=yes compile option is defined
This commit is contained in:
@@ -126,7 +126,8 @@ LogicalSwitchesPanel::LogicalSwitchesPanel(QWidget * parent, ModelData & model,
|
||||
disableMouseScrolling();
|
||||
lock = false;
|
||||
update();
|
||||
tableLayout->getTableWidget()->resizeColumnsToContents();
|
||||
tableLayout->resizeColumnsToContents();
|
||||
tableLayout->pushRowsUp(firmware->getCapability(LogicalSwitches)+1);
|
||||
}
|
||||
|
||||
LogicalSwitchesPanel::~LogicalSwitchesPanel()
|
||||
|
||||
Reference in New Issue
Block a user