export fix. version++

This commit is contained in:
ingvar1995 2017-07-09 17:37:05 +03:00
parent 335d646c42
commit 1f4e81af35
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -5,7 +5,7 @@ import sys
import re
program_version = '0.3.0'
program_version = '0.3.1'
def cached(func):