TableWidget only used if -D TABLE_LAYOUT=yes compile option is defined

This commit is contained in:
Damjan Adamic
2015-12-07 18:03:30 +01:00
parent 1dcc660f31
commit 191e37f29c
6 changed files with 79 additions and 6 deletions
+2 -1
View File
@@ -169,7 +169,8 @@ Channels::Channels(QWidget * parent, ModelData & model, GeneralSettings & genera
}
disableMouseScrolling();
tableLayout->getTableWidget()->resizeColumnsToContents();
tableLayout->resizeColumnsToContents();
tableLayout->pushRowsUp(firmware->getCapability(Outputs)+1);
}
Channels::~Channels()