setEditEnabled( false );
showColumnTitles( false );
- updateTableFromServant();
+ updateTableFromServant( true );
updateButtonsState();
}
-void VISU_TableDlg::TableWidget::updateTableFromServant()
+void VISU_TableDlg::TableWidget::updateTableFromServant( bool adjust )
{
_PTR(SObject) aSObject = myStudy->FindObjectID( myTableObj->GetObjectEntry() );
if ( aSObject ) {
}
setRowData( i-1, strlist );
}
- adjustTable();
+ if ( adjust ) adjustTable();
}
catch( ... ) {
MESSAGE("VISU_TableDlg::TableWidget::initialize : Exception has been caught !!!");
}
setRowData( i-1, strlist );
}
- adjustTable();
+ if ( adjust ) adjustTable();
}
catch( ... ) {
MESSAGE("VISU_TableDlg::TableWidget::initialize : Exception has been caught !!!");
if( !enable ) {
myTable->horizontalHeader()->setSortIndicatorShown( false );
myTable->verticalHeader()->setSortIndicatorShown( false );
- adjustTable();
+ //adjustTable();
}
mySortPolicyLabel->setEnabled( enable );
( VISU::SortPolicy )mySortPolicyCombo->currentIndex() );
myTable->horizontalHeader()->setSortIndicatorShown( true );
myTable->verticalHeader()->setSortIndicatorShown( false );
- updateTableFromServant();
+ updateTableFromServant( false );
}
}
/*!
( VISU::SortPolicy )mySortPolicyCombo->currentIndex() );
myTable->horizontalHeader()->setSortIndicatorShown( false );
myTable->verticalHeader()->setSortIndicatorShown( true );
- updateTableFromServant();
+ updateTableFromServant( false );
}
*/
}