require 1 or more files on a drop event
This commit is contained in:
parent
f333189eee
commit
85dcaaba6e
1 changed files with 1 additions and 1 deletions
|
|
@ -674,7 +674,7 @@ gapp.register("kiri.init", (root, exports) => {
|
|||
|
||||
if (files.length === 1) {
|
||||
api.platform.load_files(files);
|
||||
} else {
|
||||
} else if (files.length > 1) {
|
||||
uc.confirm(`group ${files.length} files?`).then(yes => {
|
||||
api.platform.load_files(files, yes ? [] : undefined);
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue