aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.ui
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2021-02-09 17:49:07 +1100
committerFelix Queißner <felix@ib-queissner.de>2021-02-09 10:18:41 +0100
commit0843ee2dada57255c29425f7b598ab3b258e4641 (patch)
tree053f28868aec5901c8bf1a7aa0a5401d442a3987 /src/browsertab.ui
parent70c71e7a0ee3f2c446551fc15af06136861e10e7 (diff)
downloadkristall-0843ee2dada57255c29425f7b598ab3b258e4641.tar.gz
Search box: better reimplementation
This was necessary to fix a bug, where the URL bar becomes unusable while search box is visible.
Diffstat (limited to 'src/browsertab.ui')
-rw-r--r--src/browsertab.ui7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/browsertab.ui b/src/browsertab.ui
index 105ca41..8454735 100644
--- a/src/browsertab.ui
+++ b/src/browsertab.ui
@@ -227,7 +227,7 @@ p, li { white-space: pre-wrap; }
<number>0</number>
</property>
<item>
- <widget class="QLineEdit" name="search_box"/>
+ <widget class="SearchBox" name="search_box"/>
</item>
<item>
<widget class="QToolButton" name="search_previous">
@@ -297,6 +297,11 @@ p, li { white-space: pre-wrap; }
<extends>QToolButton</extends>
<header>widgets/favouritebutton.hpp</header>
</customwidget>
+ <customwidget>
+ <class>SearchBox</class>
+ <extends>QLineEdit</extends>
+ <header>widgets/searchbox.hpp</header>
+ </customwidget>
</customwidgets>
<resources>
<include location="icons.qrc"/>