Skip to content

Commit b9fa30f

Browse files
committed
fix: focus button not shown
The focus button was not shown due to the callback still checking for the "session" view although that has been renamed to "test".
1 parent 4c26ab3 commit b9fa30f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/widgets/window/focus.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ impl imp::KpWindow {
6363
move || {
6464
if !imp.text_view_focused()
6565
&& imp.obj().visible_dialog().is_none()
66-
&& imp.main_stack.visible_child_name().unwrap() == "session"
66+
&& imp.main_stack.visible_child_name().unwrap() == "test"
6767
{
6868
bottom_stack.set_visible_child(&focus_button);
6969
text_view.add_css_class("unfocused");

0 commit comments

Comments
 (0)