gnome file dialog fix

This commit is contained in:
ingvar1995 2016-07-04 00:13:41 +03:00
parent daa0053e4b
commit 8c6caab299
3 changed files with 7 additions and 6 deletions

View file

@ -425,7 +425,7 @@ class MainWindow(QtGui.QMainWindow):
self.menu.hide()
if self.profile.active_friend + 1:
choose = QtGui.QApplication.translate("MainWindow", 'Choose file', None, QtGui.QApplication.UnicodeUTF8)
name = QtGui.QFileDialog.getOpenFileName(self, choose)
name = QtGui.QFileDialog.getOpenFileName(self, choose, options=QtGui.QFileDialog.DontUseNativeDialog)
if name[0]:
self.profile.send_file(name[0])