What steps will reproduce the problem?
1. Open Unit List of Project Group;
2. Select Project <All> in combobox;
3. Select a unit or close;
4. Open Unit List again. All is fine;
5. Close it (don't touch the project combobox!!);
6. Open Unit List again. <Currenct Project> is now selected!
What is the expected output? What do you see instead?
The <All> should remain selected at step 6.
What version of the product are you using? On what operating system?
Fails on all versions...
Please provide any additional information below.
To fix this problem line 492 of CnProjectViewBaseFrm.pas must be updated so
that FProjectListSelectedAllProject is initialised correctly:
Old code snippet:
procedure TCnProjectViewBaseForm.LoadProjectSettings(Ini:TCustomIniFile;
aSection: string);
begin
with Ini do
begin
if ReadBool(aSection, csCurrentPrj, False) then
begin
New code snippet:
procedure TCnProjectViewBaseForm.LoadProjectSettings(Ini:TCustomIniFile;
aSection: string);
begin
with Ini do
begin
FProjectListSelectedAllProject := (not ReadBool(aSection, csCurrentPrj, False));
if not FProjectListSelectedAllProject then
begin
Original issue reported on code.google.com by dekleine...@gmail.com on 3 Nov 2012 at 1:40
Original issue reported on code.google.com by
dekleine...@gmail.com
on 3 Nov 2012 at 1:40