summaryrefslogtreecommitdiff
path: root/src/ld-window-main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ld-window-main.c')
-rw-r--r--src/ld-window-main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ld-window-main.c b/src/ld-window-main.c
index f7d9f8d..4f3e603 100644
--- a/src/ld-window-main.c
+++ b/src/ld-window-main.c
@@ -510,6 +510,7 @@ diagram_save (LdWindowMain *self)
return;
}
+ /* FIXME: If this fails, we still retain the filename. */
error = NULL;
ld_diagram_save_to_file (self->priv->diagram,
self->priv->filename, &error);