mirror of
https://github.com/emilk/egui.git
synced 2026-08-31 13:50:04 -04:00
Box the app creator (#1373)
This commit is contained in:
@@ -10,7 +10,7 @@ fn main() {
|
||||
eframe::run_native(
|
||||
"Native file dialogs and drag-and-drop files",
|
||||
options,
|
||||
|_cc| Box::new(MyApp::default()),
|
||||
Box::new(|_cc| Box::new(MyApp::default())),
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user