Commit bf27764c authored by Fushan Wen's avatar Fushan Wen
Browse files

applets/dict: Clear webpage when search field is empty

parent 3d60b3eb
......@@ -37,6 +37,7 @@ ColumnLayout {
onAccepted: {
if (input.text === "") {
web.visible = false;
web.loadHtml("");
} else {
web.visible = true;
dict.lookup(input.text);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment