projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b517279
)
Bug fix: Failed editor call blocks further actions
author
Colin Clark
<colin.clark@cclark.uk>
Sat, 23 Sep 2017 10:01:45 +0000
(11:01 +0100)
committer
Colin Clark
<colin.clark@cclark.uk>
Sat, 23 Sep 2017 10:01:45 +0000
(11:01 +0100)
When a call to an external editor fails, cancel the action so that
further editors can be called
src/utilops.c
patch
|
blob
|
history
diff --git
a/src/utilops.c
b/src/utilops.c
index
8e40f11
..
0bc9d0d
100644
(file)
--- a/
src/utilops.c
+++ b/
src/utilops.c
@@
-918,6
+918,10
@@
void file_util_perform_ci(UtilityData *ud)
gchar *text = g_strdup_printf(_("%s\nUnable to start external command.\n"), editor_get_error_str(flags));
file_util_warning_dialog(ud->messages.fail, text, GTK_STOCK_DIALOG_ERROR, NULL);
g_free(text);
+
+ ud->gd = NULL;
+ ud->phase = UTILITY_PHASE_CANCEL;
+ file_util_dialog_run(ud);
}
}
else