summaryrefslogtreecommitdiff
path: root/Widgets/TextBox.h
diff options
context:
space:
mode:
authorAndreas Kling <awesomekling@gmail.com>2019-01-12 07:11:24 +0100
committerAndreas Kling <awesomekling@gmail.com>2019-01-12 07:11:24 +0100
commitb7d83e3265c03cef385cd5feb9a9ec80551a6d66 (patch)
treea514d6da616aa3d334620aadc41deb0de79cb377 /Widgets/TextBox.h
parent07873332e79d257a3ee6a26a3139b3420c8f34d2 (diff)
downloadserenity-b7d83e3265c03cef385cd5feb9a9ec80551a6d66.zip
Redraw both incoming and outgoing widget when changing focus.
Diffstat (limited to 'Widgets/TextBox.h')
-rw-r--r--Widgets/TextBox.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Widgets/TextBox.h b/Widgets/TextBox.h
index 97b0ab1de2..5236749099 100644
--- a/Widgets/TextBox.h
+++ b/Widgets/TextBox.h
@@ -14,6 +14,7 @@ public:
Function<void(TextBox&)> onReturnPressed;
private:
+ virtual const char* class_name() const override { return "TextBox"; }
virtual void paintEvent(PaintEvent&) override;
virtual void mouseDownEvent(MouseEvent&) override;
virtual void keyDownEvent(KeyEvent&) override;