Decide to refresh data if the OK button in any of the two dialogs (column_selection, data_sorting) was pressed. Don't call viewdata in the dialogs, but in ChildWin itself. Saves some superflous procedures / code.

This commit is contained in:
Ansgar Becker
2007-07-12 22:44:05 +00:00
parent cc84963b25
commit 064ed3b4da
4 changed files with 9 additions and 35 deletions

View File

@ -341,9 +341,6 @@ begin
reg_name := 'ORDERCLAUSE_' + Mainform.Childwin.ActualDatabase + '.' + Mainform.Childwin.ActualTable;
reg.WriteString( reg_name, reg_value );
reg.CloseKey;
// Refresh data
Mainform.Childwin.viewdata(self);
end;