Don't ask for saving modified settings if focus is not changed to another session node.

This commit is contained in:
Ansgar Becker
2010-04-09 15:37:26 +00:00
parent 4b2fef94c8
commit 53a78bb976

View File

@@ -502,7 +502,8 @@ procedure Tconnform.ListSessionsFocusChanging(Sender: TBaseVirtualTree; OldNode,
NewNode: PVirtualNode; OldColumn, NewColumn: TColumnIndex;
var Allowed: Boolean);
begin
FinalizeModifications(Allowed);
if NewNode <> OldNode then
FinalizeModifications(Allowed);
end;