Skip to content

Commit

Permalink
Update mux/src/window.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
wez authored Jun 8, 2024
1 parent 4616833 commit 7fdcf69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mux/src/window.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ impl Window {

if len > 0 && self.active >= len {
self.set_active_without_saving(len - 1);
} else if len > 0 {
self.set_active_without_saving(self.active);
} else {
self.invalidate();
}
}

Expand Down

0 comments on commit 7fdcf69

Please sign in to comment.