summaryrefslogtreecommitdiff
path: root/src/gui/editor.c
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-18 10:28:08 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-18 10:28:08 (GMT)
commitd25dda121501e9cc36b43c15c76d1e00d0173f7d (patch)
tree067b16b039f2f084e2cbad0120265b131ead0057 /src/gui/editor.c
parent3ea00253fa74017ce82bb72d5e11414ab5ee7101 (diff)
Restored the saving proposal at exit.
Diffstat (limited to 'src/gui/editor.c')
-rw-r--r--src/gui/editor.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/editor.c b/src/gui/editor.c
index 910feb3..fa03e77 100644
--- a/src/gui/editor.c
+++ b/src/gui/editor.c
@@ -36,6 +36,7 @@
#include "agroup.h"
#include "status.h"
+#include "menus/file.h"
#include "menus/menubar.h"
#include "core/core.h"
#include "core/panels.h"
@@ -441,7 +442,7 @@ static gboolean on_delete_editor(GtkWidget *widget, GdkEvent *event, gpointer da
switch (gtk_dialog_run(GTK_DIALOG(dialog)))
{
case GTK_RESPONSE_YES:
- //mcb_file_save_project_as(NULL, widget); /* FIXME */
+ mcb_file_save_project(NULL, NULL);
break;
case GTK_RESPONSE_NO: