|
@@ -987,7 +987,8 @@ class MainWindow(QtWidgets.QMainWindow, WindowMixin):
|
|
text = None
|
|
text = None
|
|
if items:
|
|
if items:
|
|
text = items[0].text()
|
|
text = items[0].text()
|
|
- text = self.labelDialog.popUp(text)
|
|
|
|
|
|
+ if self._config['display_label_popup'] or not text:
|
|
|
|
+ text = self.labelDialog.popUp(text)
|
|
if text is not None and not self.validateLabel(text):
|
|
if text is not None and not self.validateLabel(text):
|
|
self.errorMessage('Invalid label',
|
|
self.errorMessage('Invalid label',
|
|
"Invalid label '{}' with validation type '{}'"
|
|
"Invalid label '{}' with validation type '{}'"
|