From 6a8b2e7d988a8b7d1334cdc2a29a37e81944a736 Mon Sep 17 00:00:00 2001 From: Andrew Borodin Date: Fri, 13 May 2011 15:50:20 +0400 Subject: [PATCH] Ticket #2312: panelize content is lost when doing F5/F6/F8 on a file on the other panel. (panel_operate): don't update panelize content in the other panel before copy/move/delete operation. Signed-off-by: Andrew Borodin --- src/filemanager/file.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/filemanager/file.c b/src/filemanager/file.c index 613d09612..2c9e3f91a 100644 --- a/src/filemanager/file.c +++ b/src/filemanager/file.c @@ -2240,7 +2240,13 @@ panel_operate (void *source_panel, FileOperation operation, gboolean force_singl /* Update panel contents to avoid actions on deleted files */ if (!panel->is_panelized) { - update_panels (UP_RELOAD, UP_KEEPSEL); + panel_update_flags_t flags = UP_RELOAD; + + /* don't update panelized panel */ + if (get_other_type () == view_listing && other_panel->is_panelized) + flags |= UP_ONLY_CURRENT; + + update_panels (flags, UP_KEEPSEL); repaint_screen (); } -- 2.11.4.GIT