mirror of https://gitlab.com/basile.b/dexed.git
fix, possible AV when trying to quit and if the FSP just got closed while a group also present
This commit is contained in:
parent
3dfad53fe3
commit
390ec7777e
|
@ -1082,7 +1082,7 @@ begin
|
|||
// group, group item has the focus
|
||||
grp := getProjectGroup();
|
||||
fProjectGroup := grp.groupFilename();
|
||||
if fProjectGroup.isNotEmpty() and MainForm.fProj.inGroup() then
|
||||
if fProjectGroup.isNotEmpty() and assigned(MainForm.fProj) and MainForm.fProj.inGroup() then
|
||||
begin
|
||||
fProjectIndex := grp.getProjectIndex();
|
||||
fProjectConfigIndex := MainForm.fProj.getActiveConfigurationIndex();
|
||||
|
|
Loading…
Reference in New Issue