aboutsummaryrefslogtreecommitdiff
path: root/src/compose.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/compose.c')
-rw-r--r--src/compose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/compose.c b/src/compose.c
index b6e5faac..bd4544d7 100644
--- a/src/compose.c
+++ b/src/compose.c
@@ -5440,8 +5440,6 @@ static void compose_exec_ext_editor(Compose *compose)
}
#endif
- compose_set_ext_editor_sensitive(compose, FALSE);
-
if (prefs_common.ext_editor_cmd &&
(p = strchr(prefs_common.ext_editor_cmd, '%')) &&
*(p + 1) == 's' && !strchr(p + 2, '%')) {
@@ -5464,6 +5462,8 @@ static void compose_exec_ext_editor(Compose *compose)
return;
}
+ compose_set_ext_editor_sensitive(compose, FALSE);
+
debug_print("compose_exec_ext_editor(): pid: %d file: %s\n", pid, tmp);
compose->exteditor_file = tmp;