diff options
Diffstat (limited to 'src/mainwindow.c')
-rw-r--r-- | src/mainwindow.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mainwindow.c b/src/mainwindow.c index e42f6f89..632355de 100644 --- a/src/mainwindow.c +++ b/src/mainwindow.c @@ -1616,6 +1616,9 @@ void main_window_empty_trash(MainWindow *mainwin, gboolean confirm) { GList *list; + if (!procmsg_trash_messages_exist()) + return; + if (confirm) { if (alertpanel(_("Empty all trash"), _("Delete all messages in trash folders?"), |