IDE: Prevent error when pressing Ctrl+A in Messages Window. Issue #41787.

This commit is contained in:
Juha 2025-08-04 01:01:52 +03:00
parent a03b415096
commit 0f05729f28

View File

@ -1874,6 +1874,8 @@ begin
// [Ctrl-A]
else if (Key = VK_A) and (Shift = [ssCtrl]) then
begin
if SelectedView=nil then
SelectFirst(true,true);
Select(SelectedView,-1,false,false);
ExtendSelection(SelectedView,SelectedView.Lines.Count-1);
Key := 0;