diff options
author | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-09-02 17:39:22 -0300 |
---|---|---|
committer | Ivan Alejandro <ivanalejandro0@gmail.com> | 2013-09-04 13:02:09 -0300 |
commit | 845d70c8efb70478cb19fcc88e0c7958ee75370c (patch) | |
tree | 92c6ef700a98fca6af34f56d1561bfeb3ec76826 /src/leap/bitmask | |
parent | 3c7fd8023830723f7dabc966c5e935345b2f0b05 (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/bitmask')
-rw-r--r-- | src/leap/bitmask/gui/loggerwindow.py | 3 |
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: |