fixed service item edit form

This commit is contained in:
Andreas Preikschat 2013-03-27 10:12:54 +01:00
parent 6127da074b
commit 7476ff27ff

View File

@ -42,8 +42,11 @@ class ServiceItemEditForm(QtGui.QDialog, Ui_ServiceItemEditDialog):
def __init__(self):
"""
Constructor
"""
QtGui.QDialog.__init__(self, self.main_window)
super().__init__()
# TODO: python3 - parent correct?
#QtGui.QDialog.__init__(self, self.main_window)
self.setupUi(self)
self.item_list = []
self.list_widget.currentRowChanged.connect(self.on_current_row_changed)