PoChecker: fix updating GUI in TPoCheckerForm.SetSelectedMasterFiles.

git-svn-id: trunk@46482 -
This commit is contained in:
bart 2014-10-08 21:51:59 +00:00
parent 9538b7bb59
commit 226016dbd0

View File

@ -665,6 +665,7 @@ var
HasSelection: Boolean;
begin
MasterPoListBox.ClearSelection;
HasSelection := False;
for i := 0 to S.Count - 1 do
begin
Fn := S.Strings[i];
@ -675,7 +676,7 @@ begin
HasSelection := True;
end;
end;
//debugln('TPoCheckerForm.SetSelectedMasterFiles: MasterPoListBox.SelCount = ',DbgS(MasterPoListBox.SelCount));
//debugln('TPoCheckerForm.SetSelectedMasterFiles: S.Count = ',DbgS(S.Count),' HasSelection = ',DbgS(HasSelection));
UpdateGUI(HasSelection);
end;