Skip to content

Commit 147e0e7

Browse files
authored
Merge branch 'FarGroup:master' into master
2 parents 6cf8ba6 + 93123a0 commit 147e0e7

3 files changed

Lines changed: 18 additions & 1 deletion

File tree

far/changelog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
--------------------------------------------------------------------------------
2+
ssvine 2025-10-25 10:12:06+03:00 - build 6577
3+
4+
1. gh-1034: Refresh plugin panel after uploading a changed file in ProcessEnter.
5+
16
--------------------------------------------------------------------------------
27
shmuel 2025-10-24 20:22:16+03:00 - build 6576
38

far/filelist.cpp

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2842,7 +2842,19 @@ void FileList::ProcessEnter(bool EnableExec,bool SeparateWindow,bool EnableAssoc
28422842
{
28432843
int PutCode = Global->CtrlObject->Plugins->PutFiles(GetPluginHandle(), { &PanelItem.Item, 1 }, false, OPM_EDIT);
28442844
if (PutCode == 1 || PutCode == 2)
2845+
{
28452846
SetPluginModified();
2847+
2848+
Update(UPDATE_KEEP_SELECTION);
2849+
Redraw();
2850+
const auto AnotherPanel = Parent()->GetAnotherPanel(this);
2851+
2852+
if (AnotherPanel->GetMode() == panel_mode::NORMAL_PANEL)
2853+
{
2854+
AnotherPanel->Update(UPDATE_KEEP_SELECTION);
2855+
AnotherPanel->Redraw();
2856+
}
2857+
}
28462858
}
28472859
}
28482860
}

far/vbuild.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
6576
1+
6577

0 commit comments

Comments
 (0)