Fixed a bug with image loading.

This commit is contained in:
Joey Payne 2015-11-12 08:49:16 -07:00
commit 728f05513a
3 changed files with 16 additions and 2 deletions

View file

@ -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):