]> SALOME platform Git repositories - modules/hydro.git/commitdiff
Salome HOME
Disable the first column items in order to skip them when the user navigates with...
authormzn <mzn@opencascade.com>
Fri, 13 Dec 2013 10:47:35 +0000 (10:47 +0000)
committermzn <mzn@opencascade.com>
Fri, 13 Dec 2013 10:47:35 +0000 (10:47 +0000)
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