[Companion][AppPreferencesDialog] If not ALLOW_NIGHTLY_BUILDS then either hide nightly channel option, or if user already has it selected then display a warning (in case they also have nightly installed in parallel).

This commit is contained in:
Max Paperno
2018-07-16 17:39:22 -04:00
parent df5722717a
commit 34e1075582
2 changed files with 12 additions and 5 deletions
+4 -4
View File
@@ -767,8 +767,8 @@ Mode 4:
<number>6</number>
</property>
<item row="7" column="1">
<layout class="QGridLayout" name="gridLayout_6">
<item row="0" column="0">
<layout class="QVBoxLayout" name="updatesLayout">
<item>
<widget class="QCheckBox" name="autoCheckFirmware">
<property name="text">
<string>Automatic check for OpenTX firmware updates</string>
@@ -778,7 +778,7 @@ Mode 4:
</property>
</widget>
</item>
<item row="1" column="0">
<item>
<widget class="QCheckBox" name="autoCheckCompanion">
<property name="text">
<string>Automatic check for Companion updates</string>
@@ -788,7 +788,7 @@ Mode 4:
</property>
</widget>
</item>
<item row="2" column="0">
<item>
<widget class="QComboBox" name="OpenTxBranch">
<property name="sizePolicy">
<sizepolicy hsizetype="Expanding" vsizetype="Fixed">