parent
0b1fb30a83
commit
c6173db983
|
@ -74,7 +74,7 @@ public class View : Box {
|
|||
chat_text_view.text_view.buffer.text = entry_cache[conversation];
|
||||
}
|
||||
|
||||
chat_text_view.text_view.grab_focus();
|
||||
do_focus();
|
||||
}
|
||||
|
||||
public void set_input_state(Plugins.InputFieldStatus.MessageType message_type) {
|
||||
|
@ -105,6 +105,10 @@ public class View : Box {
|
|||
return false;
|
||||
});
|
||||
}
|
||||
|
||||
public void do_focus() {
|
||||
chat_text_view.text_view.grab_focus();
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -31,6 +31,7 @@ public class ConversationView : Gtk.Overlay {
|
|||
widget.destroy.connect(() => {
|
||||
revealer.destroy();
|
||||
white_revealer.reveal_child = false;
|
||||
chat_input.do_focus();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue