update default loadFW (SSH)
This commit is contained in:
4
main.py
4
main.py
@@ -315,8 +315,8 @@ class App(QWidget):
|
|||||||
mc_layout.addWidget(meth_lbl)
|
mc_layout.addWidget(meth_lbl)
|
||||||
|
|
||||||
self.method_combo = QComboBox()
|
self.method_combo = QComboBox()
|
||||||
self.method_combo.addItem("🌐 API (LuCI)", "api")
|
|
||||||
self.method_combo.addItem("💻 SSH", "ssh")
|
self.method_combo.addItem("💻 SSH", "ssh")
|
||||||
|
self.method_combo.addItem("🌐 API (LuCI)", "api")
|
||||||
self.method_combo.setMinimumWidth(140)
|
self.method_combo.setMinimumWidth(140)
|
||||||
self.method_combo.setFixedHeight(28)
|
self.method_combo.setFixedHeight(28)
|
||||||
self.method_combo.setStyleSheet("""
|
self.method_combo.setStyleSheet("""
|
||||||
@@ -936,8 +936,8 @@ class App(QWidget):
|
|||||||
meth_lbl.setStyleSheet("font-weight: bold; font-size: 12px;")
|
meth_lbl.setStyleSheet("font-weight: bold; font-size: 12px;")
|
||||||
row2.addWidget(meth_lbl)
|
row2.addWidget(meth_lbl)
|
||||||
self.auto_method_combo = QComboBox()
|
self.auto_method_combo = QComboBox()
|
||||||
self.auto_method_combo.addItem("🌐 API (LuCI)", "api")
|
|
||||||
self.auto_method_combo.addItem("💻 SSH", "ssh")
|
self.auto_method_combo.addItem("💻 SSH", "ssh")
|
||||||
|
self.auto_method_combo.addItem("🌐 API (LuCI)", "api")
|
||||||
self.auto_method_combo.setFixedHeight(34)
|
self.auto_method_combo.setFixedHeight(34)
|
||||||
self.auto_method_combo.setMinimumWidth(140)
|
self.auto_method_combo.setMinimumWidth(140)
|
||||||
self.auto_method_combo.setStyleSheet("""
|
self.auto_method_combo.setStyleSheet("""
|
||||||
|
|||||||
Reference in New Issue
Block a user