Skip to content
Snippets Groups Projects
Commit c78390f7 authored by Sergio Galindo's avatar Sergio Galindo
Browse files

Improved gid lists performance. Fixed GUI small issues.

parent 1fd70a62
No related branches found
No related tags found
No related merge requests found
......@@ -774,7 +774,7 @@ namespace visimpl
QGroupBox* selFunctionGB = new QGroupBox( "Current selection");
QHBoxLayout* selLayout = new QHBoxLayout( );
selLayout->setAlignment( Qt::AlignTop );
selLayout->addWidget( new QLabel( "Selection size: " ));
selLayout->addWidget( new QLabel( "Size: " ));
selLayout->addWidget( _selectionSizeLabel );
selLayout->addWidget( buttonSelectionManager );
selLayout->addWidget( _addGroupButton );
......
......@@ -88,8 +88,11 @@ namespace visimpl
_listViewAvailable = new QListView( );
_listViewAvailable->setSelectionMode( QAbstractItemView::ExtendedSelection );
_listViewAvailable->setUniformItemSizes( true );
_listViewSelected = new QListView( );
_listViewSelected->setSelectionMode( QAbstractItemView::ExtendedSelection );
_listViewSelected->setUniformItemSizes( true );
_modelAvailable = new QStandardItemModel( );
_modelSelected = new QStandardItemModel( );
......@@ -406,7 +409,8 @@ namespace visimpl
tr( "Text files (.txt);;All files (*)" ),
nullptr, QFileDialog::DontUseNativeDialog );
_lineEditFilePath->setText( path );
if( !path.isEmpty( ))
_lineEditFilePath->setText( path );
}
void SelectionManagerWidget::_buttonSaveClicked( void )
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment