mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-09-13 10:39:20 +02:00
IDE: Prevent error when pressing Ctrl+A in Messages Window. Issue #41787.
This commit is contained in:
parent
a03b415096
commit
0f05729f28
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user