From 1f4e81af35bef15e24d8ed289792ff554c84385f Mon Sep 17 00:00:00 2001 From: ingvar1995 Date: Sun, 9 Jul 2017 17:37:05 +0300 Subject: [PATCH] export fix. version++ --- toxygen/menu.py | 4 ++-- toxygen/util.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/toxygen/menu.py b/toxygen/menu.py index c0ad290..4b2419a 100644 --- a/toxygen/menu.py +++ b/toxygen/menu.py @@ -261,8 +261,8 @@ class ProfileSettings(CenteredWidget): Profile.get_instance().set_avatar(bytes(byte_array.data())) def export_profile(self): - directory = QtWidgets.QFileDialog.getExistingDirectory(options=QtWidgets.QFileDialog.DontUseNativeDialog, - dir=curr_directory()) + '/' + directory = QtWidgets.QFileDialog.getExistingDirectory(self, '', curr_directory(), + QtWidgets.QFileDialog.DontUseNativeDialog) + '/' if directory != '/': reply = QtWidgets.QMessageBox.question(None, QtWidgets.QApplication.translate("ProfileSettingsForm", diff --git a/toxygen/util.py b/toxygen/util.py index 2183f4a..e8e96c5 100644 --- a/toxygen/util.py +++ b/toxygen/util.py @@ -5,7 +5,7 @@ import sys import re -program_version = '0.3.0' +program_version = '0.3.1' def cached(func):