mirror of
https://github.com/zed-industries/zed.git
synced 2024-09-19 10:29:35 +03:00
Update active view when activating a window
This commit is contained in:
parent
973f03e73e
commit
afd293ee87
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user