mirror of https://gitlab.com/basile.b/dexed.git
fix cases where project inspectors were not cleared
revealed by project groups, and it was confusing.
This commit is contained in:
parent
c509e34be4
commit
fb51972a58
|
@ -204,7 +204,11 @@ begin
|
|||
fProj := nil;
|
||||
enabled := false;
|
||||
if aProject.getFormat <> pfDub then
|
||||
begin
|
||||
updateEditor;
|
||||
updateInspector;
|
||||
exit;
|
||||
end;
|
||||
fProj := TCEDubProject(aProject.getProject);
|
||||
enabled := true;
|
||||
if not Visible then
|
||||
|
|
|
@ -183,7 +183,10 @@ begin
|
|||
enabled := false;
|
||||
fLastFileOrFolder := '';
|
||||
if aProject.getFormat <> pfNative then
|
||||
begin
|
||||
updateImperative;
|
||||
exit;
|
||||
end;
|
||||
enabled := true;
|
||||
//
|
||||
fProject := TCENativeProject(aProject.getProject);
|
||||
|
|
Loading…
Reference in New Issue