summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/eom-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eom-window.c b/src/eom-window.c
index 3efc91a..604f146 100644
--- a/src/eom-window.c
+++ b/src/eom-window.c
@@ -990,7 +990,7 @@ eom_window_update_openwith_menu (EomWindow *window, EomImage *image)
GAppInfo *app = iter->data;
gchar name[64];
- if (g_app_info_equal (editor_app, app)) {
+ if (editor_app != NULL && g_app_info_equal (editor_app, app)) {
edit_button_active = TRUE;
}