mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2026-03-13 09:24:25 +08:00
ExportStream is not assigned in all types of export targets, for example "clipboard". Do not determine filename in such cases. Fixes issue #3372.
This commit is contained in:
@@ -668,7 +668,8 @@ begin
|
||||
if comboExportOutputType.Text = OUTPUT_CLIPBOARD then
|
||||
StreamToClipboard(ExportStream, nil, false);
|
||||
|
||||
FileName := TFileStream(ExportStream).FileName;
|
||||
if comboExportOutputType.Text = OUTPUT_FILE_COMPRESSED then
|
||||
FileName := TFileStream(ExportStream).FileName;
|
||||
FreeAndNil(ExportStream);
|
||||
|
||||
if comboExportOutputType.Text = OUTPUT_FILE_COMPRESSED then begin
|
||||
|
||||
Reference in New Issue
Block a user