support for drag and drop + open with using a dub json file

This commit is contained in:
Basile Burg 2015-09-09 13:52:56 +02:00
parent 63dedff146
commit 08243d3f9d
1 changed files with 3 additions and 3 deletions

View File

@ -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;