sculpt: fix glitch in fs-browser back arrow

Fixes #4124
This commit is contained in:
Norman Feske 2021-05-05 14:34:25 +02:00 committed by Christian Helmuth
parent 0b36d81c0c
commit ad847d0543

View File

@ -123,10 +123,12 @@ struct Sculpt::File_browser_dialog : Noncopyable, Dialog
xml.node("hbox", [&] () {
if (!_state.modified) {
gen_named_node(xml, "button", "button", [&] () {
xml.attribute("style", "back");
_entry.gen_hovered_attr(xml, "back");
xml.node("hbox", [&] () { });
gen_named_node(xml, "float", "button", [&] () {
gen_named_node(xml, "button", "button", [&] () {
xml.attribute("style", "back");
_entry.gen_hovered_attr(xml, "back");
xml.node("hbox", [&] () { });
});
});
}