mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-05-31 05:52:38 +02:00
Debugger: fix crash during IDE startup
git-svn-id: trunk@25929 -
This commit is contained in:
parent
aa496b24ff
commit
97ce05dff2
@ -1882,8 +1882,9 @@ var
|
||||
TheDialog: TEvaluateDlg;
|
||||
begin
|
||||
TheDialog := TEvaluateDlg(FDialogs[ddtEvaluate]);
|
||||
if (SourceEditorManager.GetActiveSE <> nil) and
|
||||
SourceEditorManager.GetActiveSE.SelectionAvailable
|
||||
if (SourceEditorManager.GetActiveSE = nil) then
|
||||
exit;
|
||||
if SourceEditorManager.GetActiveSE.SelectionAvailable
|
||||
then
|
||||
TheDialog.FindText := SourceEditorManager.GetActiveSE.Selection
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user