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;
|
if g = nil then begin messagebeep(MB_ICONASTERISK); exit; end;
|
||||||
Screen.Cursor := crHourGlass;
|
Screen.Cursor := crHourGlass;
|
||||||
showstatus('Saving contents to file...');
|
showstatus('Saving contents to file...');
|
||||||
if g = DataGrid then begin
|
|
||||||
EnsureFullWidth(g, g.FocusedColumn, g.FocusedNode);
|
EnsureFullWidth(g, g.FocusedColumn, g.FocusedNode);
|
||||||
IsBinary := FDataGridResult.Columns[DataGrid.FocusedColumn].IsBinary;
|
IsBinary := ActiveData.Columns[g.FocusedColumn].IsBinary;
|
||||||
end else begin
|
|
||||||
IsBinary := FQueryGridResult.Columns[QueryGrid.FocusedColumn].IsBinary;
|
|
||||||
end;
|
|
||||||
Content := g.Text[g.FocusedNode, g.FocusedColumn];
|
Content := g.Text[g.FocusedNode, g.FocusedColumn];
|
||||||
logsql(g.Name);
|
|
||||||
|
|
||||||
GetTempPath(MAX_PATH, tmppath);
|
GetTempPath(MAX_PATH, tmppath);
|
||||||
filename := tmppath;
|
filename := tmppath;
|
||||||
|
Reference in New Issue
Block a user