fix: Fixed updater being disabled.
This commit is contained in:
parent
8bb655eb40
commit
cb016ae98f
3 changed files with 13 additions and 1 deletions
|
@ -479,7 +479,7 @@ class UpdaterWindow(QMainWindow, Ui_Updater_Window):
|
|||
super(UpdaterWindow, self).__init__()
|
||||
self.ui = Ui_Updater_Window()
|
||||
self.ui.setupUi(self)
|
||||
self.dev_mode = True #True if optimalab35_localversion == "0.0.1" else False
|
||||
self.dev_mode = True if optimalab35_localversion == "0.0.1" else False
|
||||
#self.set_dev_ui()
|
||||
from PyPiUpdater import PyPiUpdater
|
||||
# Update log file location
|
||||
|
|
|
@ -175,6 +175,9 @@
|
|||
<layout class="QHBoxLayout" name="horizontalLayout_2">
|
||||
<item>
|
||||
<widget class="QPushButton" name="check_local_Button">
|
||||
<property name="toolTip">
|
||||
<string>FOR DEVELOPER</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Check local</string>
|
||||
</property>
|
||||
|
@ -182,6 +185,9 @@
|
|||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="update_local_Button">
|
||||
<property name="toolTip">
|
||||
<string>FOR DEVELOPER</string>
|
||||
</property>
|
||||
<property name="text">
|
||||
<string>Update local</string>
|
||||
</property>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue