mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-22 02:19:37 +02:00
IDE: fix the issue that ProjectInspector would be closed even if it was Docked when pressing ESCAPE
This commit is contained in:
parent
bb9f79ea0d
commit
08fb6b19dc
@ -537,7 +537,7 @@ begin
|
|||||||
Handled := True;
|
Handled := True;
|
||||||
try
|
try
|
||||||
if Key = VK_ESCAPE then
|
if Key = VK_ESCAPE then
|
||||||
Close
|
begin if NOT self.Docked then Close end
|
||||||
else if Key = VK_RETURN then
|
else if Key = VK_RETURN then
|
||||||
OpenButtonClick(Nil)
|
OpenButtonClick(Nil)
|
||||||
else if Key = VK_DELETE then
|
else if Key = VK_DELETE then
|
||||||
|
Loading…
Reference in New Issue
Block a user