Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
bc5f9a7
)
Minor changes (untabify).
author
ouv
<ouv@opencascade.com>
Mon, 18 Apr 2011 09:59:35 +0000
(09:59 +0000)
committer
ouv
<ouv@opencascade.com>
Mon, 18 Apr 2011 09:59:35 +0000
(09:59 +0000)
src/SMESHGUI/SMESHGUI_FilterDlg.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHGUI/SMESHGUI_FilterDlg.cxx
b/src/SMESHGUI/SMESHGUI_FilterDlg.cxx
index 5c5c4b207930b142f9bdf68919604142a6c7622e..6e3b261af09aef1aa545ff65bb41ae80bc1304fc 100755
(executable)
--- a/
src/SMESHGUI/SMESHGUI_FilterDlg.cxx
+++ b/
src/SMESHGUI/SMESHGUI_FilterDlg.cxx
@@
-645,7
+645,7
@@
QWidget* SMESHGUI_FilterTable::ComboDelegate::createEditor( QWidget* parent,
if ( ok ) {
int aPrecision = index.data( Qt::UserRole + 1 ).toInt( &ok );
if ( !ok )
if ( ok ) {
int aPrecision = index.data( Qt::UserRole + 1 ).toInt( &ok );
if ( !ok )
- aPrecision = 0;
+
aPrecision = 0;
SalomeApp_DoubleSpinBox* dblSpin = new SalomeApp_DoubleSpinBox( -1.e20, 1.e20, 1, aPrecision, 20, parent, false, true );
dblSpin->setFrame( false );
SalomeApp_DoubleSpinBox* dblSpin = new SalomeApp_DoubleSpinBox( -1.e20, 1.e20, 1, aPrecision, 20, parent, false, true );
dblSpin->setFrame( false );
@@
-673,7
+673,7
@@
void SMESHGUI_FilterTable::ComboDelegate::setEditorData( QWidget* editor,
if( data.type() == QVariant::Double ) {
double valueDouble = data.toDouble( &bOk );
if( bOk )
if( data.type() == QVariant::Double ) {
double valueDouble = data.toDouble( &bOk );
if( bOk )
- dblSpin->setValue( valueDouble );
+
dblSpin->setValue( valueDouble );
}
}
if ( !bOk ) QItemDelegate::setEditorData( editor, index );
}
}
if ( !bOk ) QItemDelegate::setEditorData( editor, index );