From eedb90ab62f9c1c80264d2d2cdf6d65abeb7d0e7 Mon Sep 17 00:00:00 2001
From: Christophe Geuzaine <cgeuzaine@ulg.ac.be>
Date: Tue, 31 Oct 2006 20:50:35 +0000
Subject: [PATCH] *** empty log message ***

---
 Fltk/Callbacks.cpp | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/Fltk/Callbacks.cpp b/Fltk/Callbacks.cpp
index 1799562d75..89a9836c15 100644
--- a/Fltk/Callbacks.cpp
+++ b/Fltk/Callbacks.cpp
@@ -1,4 +1,4 @@
-// $Id: Callbacks.cpp,v 1.463 2006-10-31 20:20:21 geuzaine Exp $
+// $Id: Callbacks.cpp,v 1.464 2006-10-31 20:50:35 geuzaine Exp $
 //
 // Copyright (C) 1997-2006 C. Geuzaine, J.-F. Remacle
 //
@@ -3555,12 +3555,12 @@ void mesh_delete_parts_cb(CALLBACK_ARGS)
     CTX.mesh.changed = ENT_ALL;
     Draw();
 
-    if(!ele.size())
+    if(ele.size() || fac.size())
       Msg(ONSCREEN, "Select %s\n"
-	  "[Press 'e' to end selection or 'q' to abort]", str);
+	  "[Press 'e' to end selection, 'u' to undo last selection or 'q' to abort]", str);
     else
       Msg(ONSCREEN, "Select %s\n"
-	  "[Press 'e' to end selection, 'u' to undo last selection or 'q' to abort]", str);
+	  "[Press 'e' to end selection or 'q' to abort]", str);
 
     char ib = SelectEntity(ENT_ALL, vertices, edges, faces, regions, 
 			   elements, meshSelection);
-- 
GitLab