diff options
author | Canop <cano.petrole@gmail.com> | 2020-07-27 21:03:58 +0200 |
---|---|---|
committer | Canop <cano.petrole@gmail.com> | 2020-07-27 21:03:58 +0200 |
commit | 1974ecff8e14403a9154bf0459fda849f48fb565 (patch) | |
tree | 346435745fa910abcfb60afba7a948cb4aa0e2eb /src/browser/browser_state.rs | |
parent | 3a2343a1b6cd16240022edf066f0d5341cd2df41 (diff) |
version 0.19.3
Diffstat (limited to 'src/browser/browser_state.rs')
-rw-r--r-- | src/browser/browser_state.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/browser/browser_state.rs b/src/browser/browser_state.rs index b794d40..eca95ae 100644 --- a/src/browser/browser_state.rs +++ b/src/browser/browser_state.rs @@ -381,8 +381,8 @@ impl AppState for BrowserState { } Internal::panel_left => { if cc.areas.is_first() { - //if cc.preview.is_some() && cc.areas.nb_pos == 2 { - if cc.preview.is_some() && self.selected_path().is_file() { + if cc.preview.is_some() && cc.areas.nb_pos == 2 { + //if cc.preview.is_some() && self.selected_path().is_file() { AppStateCmdResult::ClosePanel { validate_purpose: false, id: cc.preview, |