Ejemplo n.º 1
0
 def onMenuItemExportListClick(self, event):
     wildcard = '*.yaml|*.yaml|{}|*.*'.format(_('All files'))
     path = filedlg.showSaveFileDlg(self, wildcard=wildcard)
     if path:
         self.updateTasks()
         SyncTaskList.save(self.tasks, path)
Ejemplo n.º 2
0
 def onMenuExportClick(self, event):
     wildcard = '*.yaml|*.yaml|{}|*.*'.format(_('All files'))
     path = filedlg.showSaveFileDlg(self, wildcard=wildcard)
     if path:
         tasks = self.m_items.getTasks()
         SyncTaskList.save(tasks, path)