summaryrefslogtreecommitdiff
path: root/src/leap/gui/loggerwindow.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/leap/gui/loggerwindow.py')
-rw-r--r--src/leap/gui/loggerwindow.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/leap/gui/loggerwindow.py b/src/leap/gui/loggerwindow.py
index dc1e273d..4d24a7d8 100644
--- a/src/leap/gui/loggerwindow.py
+++ b/src/leap/gui/loggerwindow.py
@@ -28,7 +28,7 @@ from leap.util.leap_log_handler import LeapLogHandler
logger = logging.getLogger(__name__)
-class LoggerWindow(QtGui.QWidget):
+class LoggerWindow(QtGui.QDialog):
"""
Window that displays a history of the logged messages in the app.
"""
@@ -39,7 +39,7 @@ class LoggerWindow(QtGui.QWidget):
:param handler: Custom handler that supports history and signal.
:type handler: LeapLogHandler.
"""
- QtGui.QWidget.__init__(self)
+ QtGui.QDialog.__init__(self)
leap_assert(handler, "We need a handler for the logger window")
leap_assert_type(handler, LeapLogHandler)