Commit e4d87342 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets][field] Change from QLineEdit to NameLineEdit

parent 9c551f0c
......@@ -25,9 +25,10 @@
from PyQt5.QtWidgets import QComboBox
from PyQt5.QtWidgets import QGridLayout
from PyQt5.QtWidgets import QLineEdit
from PyQt5.QtWidgets import QWidget
from .validatedhelpers import NameLineEdit
class FieldWidget(QWidget):
"""Class representing a dataformat field"""
......@@ -37,7 +38,7 @@ class FieldWidget(QWidget):
super().__init__(parent)
self.dataformat_name = QLineEdit()
self.dataformat_name = NameLineEdit()
self.dataformat_box = QComboBox()
self.dataformat_box.setModel(dataformat_model)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment