1. TortoiseHg
  2. TortoiseHg
  3. thg

Commits

Yuya Nishihara  committed 4902f81

archive: getSaveFileName without keyword argument (CentOs 6.3)

  • Participants
  • Parent commits 3a959bf
  • Branches stable

Comments (0)

Files changed (1)

File tortoisehg/hgqt/archive.py

View file
             caption = _('Select Destination File')
             ext = '*' + select['ext']
             filter = '%s (%s)\nAll Files (*.*)' % (select['label'], ext)
-        response = FD.getSaveFileName(parent=self, caption=caption,
-                directory=dest, filter=filter, options=FD.ReadOnly)
+        response = FD.getSaveFileName(self, caption, dest, filter, None,
+                                      FD.ReadOnly)
         if response:
             self.dest_edit.setText(response)
             self.update_path()