aboutsummaryrefslogtreecommitdiff
path: root/src/handlers/export.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/handlers/export.rs')
-rw-r--r--src/handlers/export.rs6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/handlers/export.rs b/src/handlers/export.rs
index bf9dfc5..6fb1713 100644
--- a/src/handlers/export.rs
+++ b/src/handlers/export.rs
@@ -42,6 +42,10 @@ pub fn export_to_file(model: &AppModel, path: &PathBuf, format: ImageFormat) {
};
if let Err(error) = result {
- dialogs::show_error(&model.window, &tr!("error.file.export"), &error);
+ dialogs::show_error(
+ &model.window,
+ &tr!("Could not export image. Please make sure the destination is writable."),
+ &error,
+ );
}
}