mirror of
https://github.com/HeidiSQL/HeidiSQL.git
synced 2025-08-26 22:00:16 +08:00
Do not open a new tab for a dropped file, at least if it's the only one or first one of multiple files. Fixes issue #1764.
This commit is contained in:
@ -4762,7 +4762,8 @@ begin
|
|||||||
// query-memo - load their contents into seperate tabs
|
// query-memo - load their contents into seperate tabs
|
||||||
for i:=0 to AFiles.Count-1 do begin
|
for i:=0 to AFiles.Count-1 do begin
|
||||||
if fileExists(AFiles[i]) then begin
|
if fileExists(AFiles[i]) then begin
|
||||||
actNewQueryTab.Execute;
|
if i > 0 then
|
||||||
|
actNewQueryTab.Execute;
|
||||||
QueryLoad(AFiles[i], false);
|
QueryLoad(AFiles[i], false);
|
||||||
end;
|
end;
|
||||||
end;
|
end;
|
||||||
|
Reference in New Issue
Block a user