get data from the NewEvtDlg dialog for event creation
This commit is contained in:
parent
64158174e6
commit
23fa136dc5
@ -371,7 +371,7 @@ class MainWindow(QMainWindow):
|
|||||||
def createNewEvent(self):
|
def createNewEvent(self):
|
||||||
if self.okToContinue():
|
if self.okToContinue():
|
||||||
new = NewEventDlg()
|
new = NewEventDlg()
|
||||||
if new.exec_():
|
if new.exec_() != QDialog.Rejected:
|
||||||
evtpar = new.getValues()
|
evtpar = new.getValues()
|
||||||
self.data = Data(self, evtdata=createEvent(**evtpar))
|
self.data = Data(self, evtdata=createEvent(**evtpar))
|
||||||
self.dirty = True
|
self.dirty = True
|
||||||
|
Loading…
Reference in New Issue
Block a user