mirror of
https://github.com/ankitects/anki.git
synced 2025-09-19 14:32:22 -04:00
fix rename
This commit is contained in:
parent
4d945592dd
commit
247276b223
1 changed files with 1 additions and 2 deletions
|
@ -505,8 +505,7 @@ Debug info:\n%s""") % traceback.format_exc(), help="DeckErrors")
|
||||||
path = QFileDialog.getSaveFileName(self, _("Rename Deck"),
|
path = QFileDialog.getSaveFileName(self, _("Rename Deck"),
|
||||||
dir,
|
dir,
|
||||||
_("Deck files (*.anki)"),
|
_("Deck files (*.anki)"),
|
||||||
None,
|
options=QFileDialog.DontConfirmOverwrite)
|
||||||
QFileDialog.DontConfirmOverwrite)
|
|
||||||
path = unicode(path)
|
path = unicode(path)
|
||||||
if not path:
|
if not path:
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in a new issue