Salome HOME
Addition of a menu Mechanics into filters menu of Paravis.
[modules/paravis.git] / src / Plugins / MEDReader / ParaViewPlugin / VectBoolSpreadSheet.cxx
index 27b61cac0cf2f98e319993f9f48dad5eeebed1d9..839136eba9de2513c15cf0f7f71f62f66bfdf7df 100644 (file)
@@ -1,9 +1,9 @@
-// Copyright (C) 2010-2014  CEA/DEN, EDF R&D
+// Copyright (C) 2010-2016  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -233,6 +233,7 @@ void VectBoolSpreadSheet::selectionChanged(const QItemSelection & selected, cons
       m->setData(ind,QVariant(true),Qt::UserRole);
     }
   QTableView::selectionChanged(selected,deselected);
+  this->clearSelection();
 }
 
 void VectBoolSpreadSheet::nbOfRowsHasChanged(int newNbOfRows)