From 39c6158dd8d08c5cfa60642c51026861690a7762 Mon Sep 17 00:00:00 2001 From: "Michael Z. Kadaner" Date: Thu, 19 Dec 2024 16:54:11 -0500 Subject: [PATCH] gh-763: Fixed drawing of History menu border after refresh (`Ctrl+R`) and clear (`Del`). --- far/changelog | 6 ++++++ far/history.cpp | 2 +- far/vbuild.m4 | 2 +- far/vmenu.hpp | 2 -- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/far/changelog b/far/changelog index 5ab280c81a..540625f6ff 100644 --- a/far/changelog +++ b/far/changelog @@ -1,3 +1,9 @@ +-------------------------------------------------------------------------------- +MZK 2024-12-19 16:56:14-05:00 - build 6403 + +1. gh-763: Fixed drawing of History menu border after refresh (`Ctrl+R`) + and clear (`Del`). + -------------------------------------------------------------------------------- drkns 2024-12-14 12:19:57+00:00 - build 6402 diff --git a/far/history.cpp b/far/history.cpp index 951fdeb90c..fd835bc425 100644 --- a/far/history.cpp +++ b/far/history.cpp @@ -352,7 +352,7 @@ history_return_type History::ProcessMenu(string& strStr, UUID* const Uuid, strin SetUpMenuPos=false; } - HistoryMenu.Redraw(); + HistoryMenu.Show(); MenuExitCode=HistoryMenu.Run([&](const Manager::Key& RawKey) { diff --git a/far/vbuild.m4 b/far/vbuild.m4 index 1b35afaedf..5d5ee3854d 100644 --- a/far/vbuild.m4 +++ b/far/vbuild.m4 @@ -1 +1 @@ -6402 +6403 diff --git a/far/vmenu.hpp b/far/vmenu.hpp index f6471950f7..2bbcda5c59 100644 --- a/far/vmenu.hpp +++ b/far/vmenu.hpp @@ -209,8 +209,6 @@ class VMenu final: public Modal void RestoreFilteredItems(); void FilterStringUpdated(); void FilterUpdateHeight(bool bShrink = false); - void SetFilterEnabled(bool bEnabled) { bFilterEnabled = bEnabled; } - void SetFilterLocked(bool bLocked) { bFilterEnabled = bLocked; } bool AddToFilter(string_view Str); size_t size() const { return Items.size(); } bool empty() const { return Items.empty(); }