]> git.deb.at Git - pkg/abook.git/blobdiff - ui.c
launch_mutt() update
[pkg/abook.git] / ui.c
diff --git a/ui.c b/ui.c
index d490fc3b61c56019a41c398a9ed2710095f7ff74..c706963f86e550e26adaf18edcecb7e08257742c 100644 (file)
--- a/ui.c
+++ b/ui.c
@@ -465,7 +465,8 @@ get_commands()
                        case 'Z': move_curitem(MOVE_ITEM_DOWN);
                                break;
 
-                       case 'm': launch_mutt(list_current_item());
+                       case 'm': launch_mutt(selected_items() ?
+                                                 -1 : list_current_item());
                                  refresh_screen();
                                  break;