From e1d96c26d41f8d525e475ea421d77c7f7c221617 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 2 Sep 2024 14:27:10 +0200 Subject: [PATCH] ui/ListWindow: remove useless message "Range selection enabled/disabled" This doesn't help at all, it only hides the status bar for no reason, and the "enabled" message is never visible due to Page::PaintStatusBarOverride(). --- src/ui/ListWindow.cxx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ui/ListWindow.cxx b/src/ui/ListWindow.cxx index aefe8a38..0756bf04 100644 --- a/src/ui/ListWindow.cxx +++ b/src/ui/ListWindow.cxx @@ -9,9 +9,7 @@ #include "Options.hxx" #include "Command.hxx" #include "paint.hxx" -#include "screen_status.hxx" #include "screen_utils.hxx" -#include "i18n.h" void ListWindow::Paint(const ListRenderer &renderer) const noexcept @@ -180,10 +178,8 @@ ListWindow::HandleCommand(Command cmd) noexcept break; case Command::LIST_RANGE_SELECT: if (HasRangeSelection()) { - screen_status_message(_("Range selection disabled")); DisableRangeSelection(); } else { - screen_status_message(_("Range selection enabled")); EnableRangeSelection(); } break;