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