Re-enable custom screens with new themes
This commit is contained in:
@@ -106,12 +106,11 @@ ModelEdit::ModelEdit(QWidget * parent, RadioData & radioData, int modelId, Firmw
|
||||
s1.report("Telemetry");
|
||||
}
|
||||
|
||||
// temporary hide
|
||||
/*if (Boards::getCapability(firmware->getBoard(), Board::HasColorLcd)) {
|
||||
if (Boards::getCapability(firmware->getBoard(), Board::HasColorLcd)) {
|
||||
addTab(new ColorCustomScreensPanel(this, model, generalSettings, firmware, sharedItemModels), tr("Custom Screens"));
|
||||
s1.report("ColorLcd Custom Screens");
|
||||
}
|
||||
else */if (firmware->getCapability(TelemetryCustomScreens)) {
|
||||
else if (firmware->getCapability(TelemetryCustomScreens)) {
|
||||
addTab(new TelemetryCustomScreensPanel(this, model, generalSettings, firmware, sharedItemModels), tr("Custom Screens"));
|
||||
s1.report("Telemetry Custom Screens");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user