Disabled restart button, still use it for development.
This commit is contained in:
parent
348441e987
commit
f233d615e3
2 changed files with 10 additions and 2 deletions
|
@ -219,7 +219,8 @@ class Ui_MainWindow(object):
|
||||||
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
self.horizontalLayout_3.setObjectName(u"horizontalLayout_3")
|
||||||
self.restart_button = QPushButton(self.widget_9)
|
self.restart_button = QPushButton(self.widget_9)
|
||||||
self.restart_button.setObjectName(u"restart_button")
|
self.restart_button.setObjectName(u"restart_button")
|
||||||
self.restart_button.setEnabled(True)
|
self.restart_button.setEnabled(False)
|
||||||
|
self.restart_button.setFlat(False)
|
||||||
|
|
||||||
self.horizontalLayout_3.addWidget(self.restart_button)
|
self.horizontalLayout_3.addWidget(self.restart_button)
|
||||||
|
|
||||||
|
@ -484,6 +485,7 @@ class Ui_MainWindow(object):
|
||||||
|
|
||||||
self.tabWidget.setCurrentIndex(0)
|
self.tabWidget.setCurrentIndex(0)
|
||||||
self.font_size_comboBox.setCurrentIndex(2)
|
self.font_size_comboBox.setCurrentIndex(2)
|
||||||
|
self.restart_button.setDefault(False)
|
||||||
|
|
||||||
|
|
||||||
QMetaObject.connectSlotsByName(MainWindow)
|
QMetaObject.connectSlotsByName(MainWindow)
|
||||||
|
|
|
@ -368,11 +368,17 @@
|
||||||
<item>
|
<item>
|
||||||
<widget class="QPushButton" name="restart_button">
|
<widget class="QPushButton" name="restart_button">
|
||||||
<property name="enabled">
|
<property name="enabled">
|
||||||
<bool>true</bool>
|
<bool>false</bool>
|
||||||
</property>
|
</property>
|
||||||
<property name="text">
|
<property name="text">
|
||||||
<string>Restart</string>
|
<string>Restart</string>
|
||||||
</property>
|
</property>
|
||||||
|
<property name="default">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
|
<property name="flat">
|
||||||
|
<bool>false</bool>
|
||||||
|
</property>
|
||||||
</widget>
|
</widget>
|
||||||
</item>
|
</item>
|
||||||
<item>
|
<item>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue