# HG changeset patch # User Colin Clark # Date 1506160905 -3600 # Node ID 242111977be2c7412771ccede823b046106d9622 # Parent e9026a22ed211bdb23131af63ae2a301b1944dd7 Bug fix: Failed editor call blocks further actions When a call to an external editor fails, cancel the action so that further editors can be called diff -r e9026a22ed21 -r 242111977be2 src/utilops.c --- a/src/utilops.c Sat Sep 23 10:53:10 2017 +0100 +++ b/src/utilops.c Sat Sep 23 11:01:45 2017 +0100 @@ -918,6 +918,10 @@ 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