mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-04 06:34:26 +00:00
Update active view when activating a window
This commit is contained in:
parent
973f03e73e
commit
afd293ee87
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue