Moments before disaster

This commit is contained in:
lwark
2024-09-27 10:09:09 -05:00
parent 3c98d2a4ad
commit 9b08fc5186
6 changed files with 170 additions and 169 deletions

View File

@@ -67,7 +67,7 @@ class ObjectSelector(QDialog):
"""
dialog to input BaseClass type manually
"""
def __init__(self, title:str, message:str, obj_type:str|models.BaseClass):
def __init__(self, title:str, message:str, obj_type:str|type[models.BaseClass]):
super().__init__()
self.setWindowTitle(title)
self.widget = QComboBox()