mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
Fix #207. version 0.4.0
This commit is contained in:
parent
75953a47d2
commit
50a80a31df
@ -13,7 +13,7 @@
|
||||
## with this program; if not, write to the Free Software Foundation, Inc.,
|
||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||
''' E-book management software'''
|
||||
__version__ = "0.3.110"
|
||||
__version__ = "0.4.0"
|
||||
__docformat__ = "epytext"
|
||||
__author__ = "Kovid Goyal <kovid@kovidgoyal.net>"
|
||||
__appname__ = 'libprs500'
|
||||
@ -23,12 +23,6 @@ iswindows = 'win32' in sys.platform.lower()
|
||||
isosx = 'darwin' in sys.platform.lower()
|
||||
islinux = not(iswindows or isosx)
|
||||
|
||||
if iswindows:
|
||||
try:
|
||||
import WmfPlugin
|
||||
except:
|
||||
pass
|
||||
|
||||
class CommandLineError(Exception):
|
||||
pass
|
||||
|
||||
|
@ -234,6 +234,7 @@ class FileDialog(QObject):
|
||||
if os.path.exists(f):
|
||||
self.selected_files.append(f)
|
||||
if self.selected_files:
|
||||
self.selected_files = [qstring_to_unicode(q) for q in self.selected_files]
|
||||
settings.setValue(self.dialog_name, QVariant(os.path.dirname(self.selected_files[0])))
|
||||
self.accepted = bool(self.selected_files)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user