mirror of https://gitlab.com/basile.b/dexed.git
support for drag and drop + open with using a dub json file
This commit is contained in:
parent
63dedff146
commit
08243d3f9d
|
@ -664,12 +664,12 @@ begin
|
|||
begin
|
||||
if isEditable(ExtractFileExt(value)) then
|
||||
openFile(value)
|
||||
else if isValidNativeProject(value) then
|
||||
else if isValidNativeProject(value) or isValidDubProject(value) then
|
||||
begin
|
||||
// so far CE can only open 1 project at a time
|
||||
openProj(value);
|
||||
break;
|
||||
end;
|
||||
end
|
||||
end;
|
||||
finally
|
||||
lst.Free;
|
||||
|
@ -1458,7 +1458,7 @@ var
|
|||
begin
|
||||
for fname in FileNames do
|
||||
begin
|
||||
if isValidNativeProject(fname) then
|
||||
if isValidNativeProject(fname) or isValidDubProject(fname) then
|
||||
begin
|
||||
openProj(fname);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue