mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 09:20:34 +05:00
CoTech action 66.2: Rename algorithms in Create Mesh dialog box:
- part 1: Resize combo-box to show all items (no scroll bar)
This commit is contained in:
parent
65efd98e77
commit
b525692cdf
@ -171,6 +171,7 @@ void SMESHGUI_MeshTab::addItem( const QString& txt, const int type, const int in
|
||||
if ( type <= AddHyp )
|
||||
{
|
||||
myHypCombo[ type ]->addItem( txt, QVariant( index ));
|
||||
myHypCombo[ type ]->setMaxVisibleItems( qMax( 10, myHypCombo[ type ]->count() ) );
|
||||
}
|
||||
else
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user