diff options
Diffstat (limited to 'mail/folder-browser.c')
-rw-r--r-- | mail/folder-browser.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/folder-browser.c b/mail/folder-browser.c index f514228df0..76983955dd 100644 --- a/mail/folder-browser.c +++ b/mail/folder-browser.c @@ -1544,10 +1544,10 @@ on_key_press (GtkWidget *widget, GdkEventKey *key, gpointer data) return TRUE; case 'q': case 'Q': - if (fb->preview_shown && fb->uicomp) + if (fb->uicomp) bonobo_ui_component_set_prop (fb->uicomp, "/commands/ViewPreview", - "state", "0", NULL); + "state", fb->preview_shown ? "0" : "1", NULL); return TRUE; } |