mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Merge branch '2312_lost_panelize'
* 2312_lost_panelize: Ticket #2312: panelize content is lost when doing F5/F6/F8 on a file on the other panel.
This commit is contained in:
commit
23308648e4
@ -2309,7 +2309,13 @@ panel_operate (void *source_panel, FileOperation operation, gboolean force_singl
|
|||||||
/* Update panel contents to avoid actions on deleted files */
|
/* Update panel contents to avoid actions on deleted files */
|
||||||
if (!panel->is_panelized)
|
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 ();
|
repaint_screen ();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user