Salome HOME
projects
/
modules
/
hydro.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for the bug #255: VTK viewer is not updated after modification of objects.
[modules/hydro.git]
/
src
/
HYDROGUI
/
HYDROGUI_GeoreferencementDlg.cxx
diff --git
a/src/HYDROGUI/HYDROGUI_GeoreferencementDlg.cxx
b/src/HYDROGUI/HYDROGUI_GeoreferencementDlg.cxx
index aa73cd03a19a37f64f9c28b0562e04e14539611f..35be05cd0187f33c40e768357d133f30320d7001 100644
(file)
--- a/
src/HYDROGUI/HYDROGUI_GeoreferencementDlg.cxx
+++ b/
src/HYDROGUI/HYDROGUI_GeoreferencementDlg.cxx
@@
-240,10
+240,12
@@
void HYDROGUI_GeoreferencementDlg::setData( const ProfilesGeoDataList& theData )
// "Profile" column
QTableWidgetItem* aNameItem = new QTableWidgetItem( aGeoData.Name );
// "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 );
QFont aFont = aNameItem->font();
aFont.setBold( true );
- aNameItem->setFont( aFont );
+ aNameItem->setFont( aFont );
+ */
myTable->setItem( aRow, 0, aNameItem );
// "Xg" column
myTable->setItem( aRow, 0, aNameItem );
// "Xg" column