upload drop to config.

This commit is contained in:
Miroslav Šedivý
2023-11-24 10:44:24 +01:00
parent b40c0778c8
commit 3dbcc41795
4 changed files with 16 additions and 0 deletions

View File

@ -62,3 +62,7 @@ func (manager *DesktopManagerCtx) DropFiles(x int, y int, files []string) bool {
return false
}
}
func (manager *DesktopManagerCtx) IsUploadDropEnabled() bool {
return manager.config.UploadDrop
}