From deadf14a474192cc9d7cab13a0619a424b3a9f35 Mon Sep 17 00:00:00 2001 From: Andrei Popa Date: Fri, 6 Sep 2024 15:04:13 +0300 Subject: [PATCH] PlotZoomer: fixed rectangle not updating on cancelZoom() Signed-off-by: Andrei Popa --- gui/src/plotzoomer.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/gui/src/plotzoomer.cpp b/gui/src/plotzoomer.cpp index c035eda4fc..f5922bcf58 100644 --- a/gui/src/plotzoomer.cpp +++ b/gui/src/plotzoomer.cpp @@ -75,6 +75,7 @@ void PlotZoomer::cancelZoom() { delete m_rubberBand; m_rubberBand = nullptr; + plot()->repaint(); } void PlotZoomer::setEnabled(bool en)