mirror of
https://github.com/leminlimez/Nugget.git
synced 2025-04-08 04:23:05 +08:00
Merge branch 'v5.0.1' into pb-video
This commit is contained in:
@@ -19,7 +19,7 @@ from tweaks.custom_gestalt_tweaks import CustomGestaltTweaks, ValueTypeStrings
|
||||
from tweaks.daemons_tweak import Daemon
|
||||
|
||||
App_Version = "5.1"
|
||||
App_Build = 1
|
||||
App_Build = 2
|
||||
|
||||
class Page(Enum):
|
||||
Home = 0
|
||||
@@ -283,7 +283,13 @@ class MainWindow(QtWidgets.QMainWindow):
|
||||
self.ui.devicePicker.setEnabled(True)
|
||||
# populate the ComboBox with device names
|
||||
for device in self.device_manager.devices:
|
||||
self.ui.devicePicker.addItem(device.name)
|
||||
tag = ""
|
||||
if self.device_manager.apply_over_wifi:
|
||||
if device.connected_via_usb:
|
||||
tag = " (@ USB)"
|
||||
else:
|
||||
tag = " (@ WiFi)"
|
||||
self.ui.devicePicker.addItem(f"{device.name}{tag}")
|
||||
|
||||
# show all pages
|
||||
self.ui.sidebarDiv1.show()
|
||||
|
||||
Reference in New Issue
Block a user