changed usage signature of some function from module utils and the corresponding calls

This commit is contained in:
2015-06-11 10:12:50 +02:00
parent 546e919dc9
commit c5da8fd994
3 changed files with 29 additions and 16 deletions

View File

@@ -509,8 +509,8 @@ class MainWindow(QMainWindow):
if new.exec_() != QDialog.Rejected:
evtpar = new.getValues()
cinfo = createCreationInfo(agency_id=self.agency)
event = createEvent(evtpar['origintime'])
self.data = Data(self, evtdata=createEvent(**evtpar))
event = createEvent(evtpar['origintime'], cinfo)
self.data = Data(self, evtdata=event)
self.dirty = True
def closeEvent(self, event):