From 1a959a39b27e89738d481fbe1a512a4f08f43470 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Tue, 20 May 2014 09:15:15 +0200 Subject: [PATCH] Don't inherit Prompt from TextBase --- qutebrowser/widgets/statusbar/_prompt.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/qutebrowser/widgets/statusbar/_prompt.py b/qutebrowser/widgets/statusbar/_prompt.py index 037a5fa62..bd2efc0f8 100644 --- a/qutebrowser/widgets/statusbar/_prompt.py +++ b/qutebrowser/widgets/statusbar/_prompt.py @@ -18,7 +18,7 @@ """Prompt shown in the statusbar.""" from PyQt5.QtCore import pyqtSignal, QEventLoop, QObject -from PyQt5.QtWidgets import QLineEdit, QHBoxLayout +from PyQt5.QtWidgets import QLineEdit, QHBoxLayout, QWidget import qutebrowser.keyinput.modeman as modeman import qutebrowser.commands.utils as cmdutils @@ -71,7 +71,7 @@ class Question(QObject): self.answered.emit() -class Prompt(TextBase): +class Prompt(QWidget): """The prompt widget shown in the statusbar.