mirror of
https://github.com/storytold/effectcraft.git
synced 2026-11-15 06:42:31 +00:00
3084: guard the diagnostic-report message dialog
This commit is contained in:
1 parent
4bb4c71583
commit
f159ddf823
1 file changed
+1
-1
@@ -196,7 +196,7 @@ fn start_helpers_if_opted_in(session: &mut effectcraft_engine::Session) {
|
||||
fn main() -> eframe::Result {
|
||||
let args: Vec<_> = std::env::args_os().skip(1).collect();
|
||||
if crash_report::maybe_run(&args, |description| {
|
||||
rfd::MessageDialog::new().set_level(rfd::MessageLevel::Error).set_title("EffectCraft diagnostic report").set_description(description).show();
|
||||
file_dialogs::message("EffectCraft diagnostic report", description);
|
||||
}) {
|
||||
return Ok(());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user