summaryrefslogtreecommitdiff
path: root/src/leap
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-09-02 17:39:22 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-09-04 13:02:09 -0300
commit845d70c8efb70478cb19fcc88e0c7958ee75370c (patch)
tree92c6ef700a98fca6af34f56d1561bfeb3ec76826 /src/leap
parent3c7fd8023830723f7dabc966c5e935345b2f0b05 (diff)
Fix save log dialog freezing. Closes #3675.
Avoid using native dialog seems to solve the QFileDialog freezing when qtreactor is used. See more at: http://www.code-corner.de/?p=171
Diffstat (limited to 'src/leap')
-rw-r--r--src/leap/bitmask/gui/loggerwindow.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/leap/bitmask/gui/loggerwindow.py b/src/leap/bitmask/gui/loggerwindow.py
index 9b4ba55d..ece4cad6 100644
--- a/src/leap/bitmask/gui/loggerwindow.py
+++ b/src/leap/bitmask/gui/loggerwindow.py
@@ -146,7 +146,8 @@ class LoggerWindow(QtGui.QDialog):
Lets the user save the current log to a file
"""
fileName, filtr = QtGui.QFileDialog.getSaveFileName(
- self, self.tr("Save As"))
+ self, self.tr("Save As"),
+ options=QtGui.QFileDialog.DontUseNativeDialog)
if fileName:
try: