mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 11:17:57 +08:00
Simplify code and remove remaining debug output
This commit is contained in:
@ -2240,14 +2240,9 @@ begin
|
||||
if g = nil then begin messagebeep(MB_ICONASTERISK); exit; end;
|
||||
Screen.Cursor := crHourGlass;
|
||||
showstatus('Saving contents to file...');
|
||||
if g = DataGrid then begin
|
||||
EnsureFullWidth(g, g.FocusedColumn, g.FocusedNode);
|
||||
IsBinary := FDataGridResult.Columns[DataGrid.FocusedColumn].IsBinary;
|
||||
end else begin
|
||||
IsBinary := FQueryGridResult.Columns[QueryGrid.FocusedColumn].IsBinary;
|
||||
end;
|
||||
IsBinary := ActiveData.Columns[g.FocusedColumn].IsBinary;
|
||||
Content := g.Text[g.FocusedNode, g.FocusedColumn];
|
||||
logsql(g.Name);
|
||||
|
||||
GetTempPath(MAX_PATH, tmppath);
|
||||
filename := tmppath;
|
||||
|
Reference in New Issue
Block a user