Add support for opening multiple selected files from disk (#4128)

This commit is contained in:
Keavon Chambers
2026-05-07 21:21:45 -07:00
committed by GitHub
parent dff8ac5511
commit 9d876ab27d
8 changed files with 108 additions and 32 deletions
+2
View File
@@ -16,6 +16,7 @@ pub enum DesktopFrontendMessage {
OpenFileDialog {
title: String,
filters: Vec<FileFilter>,
multiple: bool,
context: OpenFileDialogContext,
},
SaveFileDialog {
@@ -102,6 +103,7 @@ pub struct FileFilter {
pub extensions: Vec<String>,
}
#[derive(Clone, Copy)]
pub enum OpenFileDialogContext {
Open,
Import,