Fixed a bug with image loading.
This commit is contained in:
parent
02f7c0cdfb
commit
728f05513a
3 changed files with 16 additions and 2 deletions
2
main.py
2
main.py
|
|
@ -1329,7 +1329,7 @@ class MainWindow(QtGui.QMainWindow, CommandBase):
|
|||
if index != -1:
|
||||
setting_field.setCurrentIndex(index)
|
||||
if setting.type == 'range':
|
||||
setting_field.setValue(setting.value)
|
||||
setting_field.setValue(int(setting.value))
|
||||
self.ex_button.setEnabled(self.required_settings_filled())
|
||||
|
||||
def show_and_raise(self):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue