From 0339baf069df4dc99d2652ae5c6fdac6e5558229 Mon Sep 17 00:00:00 2001 From: Roy Qu Date: Mon, 25 Mar 2024 17:21:22 +0800 Subject: [PATCH] fixes #320 - fix: Display not correctly updated after select all in debug console. --- NEWS.md | 1 + RedPandaIDE/widgets/qconsole.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/NEWS.md b/NEWS.md index a3fc48ab..7d0d3546 100644 --- a/NEWS.md +++ b/NEWS.md @@ -82,6 +82,7 @@ Red Panda C++ Version 2.27 - enhancement: Vertically scroll by pixel. - enhancement: Display (gdb) prompt in debug console after it's cleared. - fix: Output of "disas" is not shown in debug console. + - fix: Display not correctly updated after select all in debug console. Red Panda C++ Version 2.26 - enhancement: Code suggestion for embedded std::vectors. diff --git a/RedPandaIDE/widgets/qconsole.cpp b/RedPandaIDE/widgets/qconsole.cpp index 4466a9b3..0e0a9a4f 100644 --- a/RedPandaIDE/widgets/qconsole.cpp +++ b/RedPandaIDE/widgets/qconsole.cpp @@ -223,6 +223,7 @@ void QConsole::selectAll() if (mContents.lines()>0) { mSelectionBegin = {1,1}; mSelectionEnd = { mContents.getLastLine().length()+1,mContents.lines()}; + invalidate(); } }