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):