mirror of
https://github.com/n00mkrad/flowframes.git
synced 2025-12-16 16:37:48 +01:00
Load files directly into batch window, even if dropped into main window
This commit is contained in:
@@ -111,7 +111,12 @@ namespace Flowframes.Forms
|
||||
private async void taskList_DragDrop(object sender, DragEventArgs e)
|
||||
{
|
||||
string[] droppedPaths = (string[])e.Data.GetData(DataFormats.FileDrop);
|
||||
foreach(string path in droppedPaths)
|
||||
await LoadDroppedPaths(droppedPaths);
|
||||
}
|
||||
|
||||
public async Task LoadDroppedPaths (string[] droppedPaths)
|
||||
{
|
||||
foreach (string path in droppedPaths)
|
||||
{
|
||||
string frame1 = Path.Combine(path, "00000001.png");
|
||||
if (IOUtils.IsPathDirectory(path) && !File.Exists(frame1))
|
||||
|
||||
Reference in New Issue
Block a user