hide ai enabler content by default

This commit is contained in:
leminlimez
2024-11-01 14:12:25 -04:00
parent 7c22bcae33
commit 971e9cbb1e
4 changed files with 7 additions and 3 deletions

View File

@@ -273,6 +273,10 @@ class MainWindow(QtWidgets.QMainWindow):
self.ui.euEnablerPageBtn.show()
else:
self.ui.euEnablerPageBtn.hide()
# hide the ai content if not on
if device_ver >= Version("18.1") and not tweaks["AIGestalt"].enabled:
self.ui.aiEnablerContent.hide()
else:
self.device_manager.set_current_device(index=None)

View File

@@ -1571,7 +1571,7 @@ QToolButton:pressed {
<item>
<widget class="QLabel" name="label">
<property name="text">
<string>Nugget GUI - Version 4.0.1 (beta 4)</string>
<string>Nugget GUI - Version 4.0.1 (beta 5)</string>
</property>
<property name="alignment">
<set>Qt::AlignRight|Qt::AlignTrailing|Qt::AlignVCenter</set>

View File

@@ -2743,7 +2743,7 @@ class Ui_Nugget(object):
self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None))
self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None))
self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None))
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.0.1 (beta 4)", None))
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.0.1 (beta 5)", None))
self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None))
self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! Your device's mobilegestalt file is required for this feature. Select it on the apply page.", None))
self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None))

View File

@@ -2743,7 +2743,7 @@ class Ui_Nugget(object):
self.toolButton_15.setText(QCoreApplication.translate("Nugget", u"Additional Thanks", None))
self.libiBtn.setText(QCoreApplication.translate("Nugget", u"pymobiledevice3", None))
self.qtBtn.setText(QCoreApplication.translate("Nugget", u"Qt Creator", None))
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.0.1 (beta 4)", None))
self.label.setText(QCoreApplication.translate("Nugget", u"Nugget GUI - Version 4.0.1 (beta 5)", None))
self.statusBarLbl.setText(QCoreApplication.translate("Nugget", u"Mobile Gestalt", None))
self.mgaWarningLbl.setText(QCoreApplication.translate("Nugget", u"! Your device's mobilegestalt file is required for this feature. Select it on the apply page.", None))
self.label_9.setText(QCoreApplication.translate("Nugget", u"Device Subtype Preset", None))