fix: opening the InputSelector resulted in invalid pane ids (#6403)
* fix: opening the InputSelector resulted in invalid pane ids * Update wezterm-gui/src/termwindow/mod.rs --------- Co-authored-by: Wez Furlong <wez@wezfurlong.org>
This commit is contained in:
1 parent
84ece8790c
commit
6e2eeed6e5
1 file changed
+3
-1
@@ -2265,7 +2265,9 @@ impl TermWindow {
|
||||
None => return,
|
||||
};
|
||||
|
||||
let pane = match self.get_active_pane_or_overlay() {
|
||||
// Ignore any current overlay: we're going to cancel it out below
|
||||
// and we don't want this new one to reference that cancelled pane
|
||||
let pane = match self.get_active_pane_no_overlay() {
|
||||
Some(pane) => pane,
|
||||
None => return,
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user