mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-01 08:36:09 +02:00
Debugger: fix warning about project debugger backend in global options
This commit is contained in:
parent
659d6aec30
commit
4d22d48f2e
@ -589,10 +589,10 @@ begin
|
||||
tbDelete.Enabled := FSelectedDbgPropertiesConfig <> nil;
|
||||
|
||||
if ShowWarningOverridenByProject then
|
||||
lblWarningProject.Visible := (
|
||||
(Project1.DebuggerBackend <> FSelectedDbgPropertiesConfig.UID) and
|
||||
(Project1.DebuggerBackend <> 'IDE') and
|
||||
not( (Project1.DebuggerBackend = '') and (Project1.DebuggerPropertiesConfigList.CountWithoutDeleted > 0) )
|
||||
lblWarningProject.Visible := not (
|
||||
(Project1.DebuggerBackend = FSelectedDbgPropertiesConfig.UID) or
|
||||
(Project1.DebuggerBackend = 'IDE') or
|
||||
( (Project1.DebuggerBackend = '') and (Project1.DebuggerPropertiesConfigList.CountWithoutDeleted = 0) )
|
||||
);
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user