mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-08-09 12:17:37 +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;
|
TheDialog: TEvaluateDlg;
|
||||||
begin
|
begin
|
||||||
TheDialog := TEvaluateDlg(FDialogs[ddtEvaluate]);
|
TheDialog := TEvaluateDlg(FDialogs[ddtEvaluate]);
|
||||||
if (SourceEditorManager.GetActiveSE <> nil) and
|
if (SourceEditorManager.GetActiveSE = nil) then
|
||||||
SourceEditorManager.GetActiveSE.SelectionAvailable
|
exit;
|
||||||
|
if SourceEditorManager.GetActiveSE.SelectionAvailable
|
||||||
then
|
then
|
||||||
TheDialog.FindText := SourceEditorManager.GetActiveSE.Selection
|
TheDialog.FindText := SourceEditorManager.GetActiveSE.Selection
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user