Commit 9b6fb6d0 authored by Samuel GAIST's avatar Samuel GAIST
Browse files

[widgets][dialogs] Use NameLineEdit in place of QLineEdit

parent b41c8069
......@@ -32,13 +32,13 @@ from PyQt5.QtWidgets import QComboBox
from PyQt5.QtWidgets import QDialog
from PyQt5.QtWidgets import QDialogButtonBox
from PyQt5.QtWidgets import QFormLayout
from PyQt5.QtWidgets import QLineEdit
from PyQt5.QtWidgets import QRadioButton
from PyQt5.QtWidgets import QVBoxLayout
from ..backend.asset import AssetType
from ..backend.assetmodel import AssetModel
from ..utils import dataformat_basetypes
from .validatedhelpers import NameLineEdit
class CreationType:
......@@ -87,7 +87,7 @@ class AssetCreationDialog(QDialog, CreationType):
# New asset
self.name_lineedit = QLineEdit()
self.name_lineedit = NameLineEdit()
self.new_radio_button = QRadioButton("New"))
self.toolchain_combobox = None
......@@ -108,7 +108,7 @@ class AssetCreationDialog(QDialog, CreationType):
self.fork_combobox = QComboBox()
self.fork_lineedit = QLineEdit()
self.fork_lineedit = NameLineEdit()
self.fork_radio_button = QRadioButton("Fork"))
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