Missing fields errors were not notified
This commit is contained in:
parent
f85d40a44b
commit
e9a194b36e
@ -357,7 +357,7 @@ class ConfigurationGetter(object):
|
||||
self._validateArguments()
|
||||
except InvalidConfigValue as e:
|
||||
try:
|
||||
for key, value in list(self._promptForMissingArguments(e.message).items()):
|
||||
for key, value in list(self._promptForMissingArguments(e).items()):
|
||||
self._config[key] = value
|
||||
self._checkConfig()
|
||||
except:
|
||||
|
||||
@ -660,6 +660,7 @@ class ConfigDialog(QtWidgets.QDialog):
|
||||
self.basicOptionsFrame = QtWidgets.QFrame()
|
||||
self.basicOptionsLayout = QtWidgets.QVBoxLayout()
|
||||
if error:
|
||||
error = str(error)
|
||||
self.errorLabel = QLabel(self)
|
||||
if error[:1] != constants.ERROR_MESSAGE_MARKER:
|
||||
self.errorLabel.setStyleSheet(constants.STYLE_ERRORLABEL)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user