mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
parent
b25c48917f
commit
664025709e
@ -30,6 +30,8 @@ QgsLayoutLegendLayersDialog::QgsLayoutLegendLayersDialog( QWidget *parent )
|
||||
listMapLayers->setModel( mModel );
|
||||
QModelIndex firstLayer = mModel->index( 0, 0 );
|
||||
listMapLayers->selectionModel()->select( firstLayer, QItemSelectionModel::Select );
|
||||
|
||||
connect( listMapLayers, &QListView::doubleClicked, this, &QgsLayoutLegendLayersDialog::accept );
|
||||
}
|
||||
|
||||
QgsLayoutLegendLayersDialog::~QgsLayoutLegendLayersDialog()
|
||||
|
Loading…
x
Reference in New Issue
Block a user