Set a maximum label name length of 200 characters

This commit is contained in:
Veronica K. B. Olsen
2019-11-03 23:42:43 +01:00
parent 8cdcd07846
commit 20944367ad
+2
View File
@@ -56,6 +56,8 @@ class GuiItemEditor(QDialog):
self.mainForm = QFormLayout() self.mainForm = QFormLayout()
self.editName = QLineEdit() self.editName = QLineEdit()
self.editName.setMaxLength(200)
self.editStatus = QComboBox() self.editStatus = QComboBox()
self.editLayout = QComboBox() self.editLayout = QComboBox()