ProjectDjangoTagsMenu/DjangoTagInputDialog.py

branch
eric7
changeset 72
529f1c17c93e
parent 70
ce1c2effa0e0
child 74
a25b858e18a7
equal deleted inserted replaced
71:fc1ab84c242f 72:529f1c17c93e
88 @rtype tuple of (tuple of str, bool) 88 @rtype tuple of (tuple of str, bool)
89 """ 89 """
90 if defaults is None: 90 if defaults is None:
91 defaults = [] 91 defaults = []
92 92
93 dlg = DjangoTagInputDialog(labels, defaults, parent) 93 dlg = DjangoTagInputDialog(labels, defaults=defaults, parent=parent)
94 dlg.setWindowTitle(title) 94 dlg.setWindowTitle(title)
95 if dlg.exec() == QDialog.DialogCode.Accepted: 95 if dlg.exec() == QDialog.DialogCode.Accepted:
96 return dlg.getData(), True 96 return dlg.getData(), True
97 else: 97 else:
98 return (), False 98 return (), False

eric ide

mercurial