Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
Menu
Open sidebar
FPC
Lazarus
Lazarus
Commits
bdb87399
Commit
bdb87399
authored
Mar 19, 2015
by
Bart B
🐞
Browse files
IDE: Fix crash in procedurelist when no file is open in editor. Issue
#27694
.
git-svn-id: trunk@48426 -
parent
40d5c151
Changes
1
Hide whitespace changes
Inline
Side-by-side
ide/procedurelist.pas
View file @
bdb87399
...
...
@@ -541,8 +541,13 @@ end;
procedure
TProcedureListForm
.
FormCreate
(
Sender
:
TObject
);
begin
if
SourceEditorManagerIntf
.
ActiveEditor
=
nil
then
begin
//SetupGUI makes the dialog look as it should, and is clears the listview
//thus preventing a crash when clicking on the LV
SetupGUI
;
Exit
;
//==>
end
;
FMainFilename
:=
SourceEditorManagerIntf
.
ActiveEditor
.
Filename
;
Caption
:=
Caption
+
ExtractFileName
(
FMainFilename
);
SetupGUI
;
...
...
FPC Admin account
@fpc_admin
mentioned in issue
#27694 (closed)
·
Jul 29, 2021
mentioned in issue
#27694 (closed)
mentioned in issue #27694
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment