Salome HOME
Fix for the bug #255: VTK viewer is not updated after modification of objects.
[modules/hydro.git] / src / HYDROGUI / HYDROGUI_GeoreferencementDlg.cxx
index aa73cd03a19a37f64f9c28b0562e04e14539611f..35be05cd0187f33c40e768357d133f30320d7001 100644 (file)
@@ -240,10 +240,12 @@ void HYDROGUI_GeoreferencementDlg::setData( const ProfilesGeoDataList& theData )
 
     // "Profile" column
     QTableWidgetItem* aNameItem = new QTableWidgetItem( aGeoData.Name );
-    aNameItem->setFlags( Qt::ItemIsEnabled );
+    aNameItem->setFlags( aNameItem->flags() & ~Qt::ItemIsEnabled );
+    /* Bold font is not used in other tables. Keep the common style.
     QFont aFont = aNameItem->font();
     aFont.setBold( true );
-    aNameItem->setFont( aFont ); 
+    aNameItem->setFont( aFont );
+    */ 
     myTable->setItem( aRow, 0, aNameItem );
 
     // "Xg" column