ProjectDjangoTagsMenu/TimezoneSelectionDialog.py

changeset 49
ef6c805ae218
parent 47
825bf5861f89
child 51
29c461f7bea0
equal deleted inserted replaced
48:ba771c089e44 49:ef6c805ae218
574 @return tuple of selected time zone (string) and flag indicating 574 @return tuple of selected time zone (string) and flag indicating
575 the acceptance state (boolean) 575 the acceptance state (boolean)
576 """ 576 """
577 dlg = TimezoneSelectionDialog(parent) 577 dlg = TimezoneSelectionDialog(parent)
578 tz = "" 578 tz = ""
579 if dlg.exec_() == QDialog.Accepted: 579 if dlg.exec() == QDialog.Accepted:
580 tz = dlg.getData() 580 tz = dlg.getData()
581 return tz, bool(tz) 581 return tz, bool(tz)

eric ide

mercurial