mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
...
This commit is contained in:
parent
3e89b6c7f7
commit
f0962dd696
@ -58,7 +58,7 @@ class ImportLocation(QWidget):
|
|||||||
self.lpath = lpath
|
self.lpath = lpath
|
||||||
|
|
||||||
def select_folder(self):
|
def select_folder(self):
|
||||||
path = choose_dir(self, _('Choose a folder for this library'), 'select-folder-for-imported-library')
|
path = choose_dir(self, 'select-folder-for-imported-library', _('Choose a folder for this library'))
|
||||||
if path is not None:
|
if path is not None:
|
||||||
self.le.setText(path)
|
self.le.setText(path)
|
||||||
|
|
||||||
@ -246,8 +246,7 @@ class EximDialog(Dialog):
|
|||||||
l.addWidget(la)
|
l.addWidget(la)
|
||||||
|
|
||||||
def select_import_folder(self):
|
def select_import_folder(self):
|
||||||
path = choose_dir(self, _('Select folder with exported data'),
|
path = choose_dir(self, 'choose-export-folder-for-import', _('Select folder with exported data'))
|
||||||
'choose-export-folder-for-import')
|
|
||||||
if path is None:
|
if path is None:
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user