Update active view when activating a window

This commit is contained in:
Max Brunsfeld 2023-09-29 14:12:51 -07:00
parent 973f03e73e
commit afd293ee87

View File

@ -3117,6 +3117,7 @@ impl Workspace {
pub fn on_window_activation_changed(&mut self, active: bool, cx: &mut ViewContext<Self>) {
if active {
self.update_active_view_for_followers(cx);
cx.background()
.spawn(persistence::DB.update_timestamp(self.database_id()))
.detach();