mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 20:00:16 +08:00
Fix unsaved output setting when "Database" was selected. Also, fix disabled pulldown holding databases in such cases.
This commit is contained in:
@ -226,7 +226,7 @@ begin
|
|||||||
MainReg.WriteInteger(REGNAME_EXP_DATAHOW, comboExportData.ItemIndex);
|
MainReg.WriteInteger(REGNAME_EXP_DATAHOW, comboExportData.ItemIndex);
|
||||||
// Do not remember a selected session name for the next time
|
// Do not remember a selected session name for the next time
|
||||||
OutputItem := comboExportOutputType.ItemIndex;
|
OutputItem := comboExportOutputType.ItemIndex;
|
||||||
if OutputItem > 2 then
|
if OutputItem > 3 then
|
||||||
OutputItem := 0;
|
OutputItem := 0;
|
||||||
MainReg.WriteInteger(REGNAME_EXP_OUTPUT, OutputItem);
|
MainReg.WriteInteger(REGNAME_EXP_OUTPUT, OutputItem);
|
||||||
MainReg.WriteString(REGNAME_EXP_OUTFILES, OutputFiles.Text);
|
MainReg.WriteString(REGNAME_EXP_OUTFILES, OutputFiles.Text);
|
||||||
@ -727,6 +727,7 @@ var
|
|||||||
begin
|
begin
|
||||||
// Target type (file, directory, ...) selected
|
// Target type (file, directory, ...) selected
|
||||||
OldItem := comboExportOutputTarget.Text;
|
OldItem := comboExportOutputTarget.Text;
|
||||||
|
comboExportOutputTarget.Enabled := True;
|
||||||
if Assigned(FTargetConnection) then
|
if Assigned(FTargetConnection) then
|
||||||
FreeAndNil(FTargetConnection);
|
FreeAndNil(FTargetConnection);
|
||||||
if comboExportOutputType.Text = OUTPUT_FILE then begin
|
if comboExportOutputType.Text = OUTPUT_FILE then begin
|
||||||
|
Reference in New Issue
Block a user