Skip to content

Commit 47f739c

Browse files
committedMay 28, 2019
Revert "QgsLayoutAtlasWidget: Disconnect signals when layout RIP"
This reverts commit 1626565. Found a better way to delete the widget when designer dialog is closed.
1 parent 20f1acb commit 47f739c

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed
 

‎src/app/layout/qgslayoutatlaswidget.cpp

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,6 @@ QgsLayoutAtlasWidget::QgsLayoutAtlasWidget( QWidget *parent, QgsPrintLayout *lay
6565
}
6666
connect( mAtlasFileFormat, qgis::overload<int>::of( &QComboBox::currentIndexChanged ), this, [ = ]( int ) { changeFileFormat(); } );
6767

68-
// Disconnect when layout is destroyed
69-
connect( layout, &QgsPrintLayout::destroyed, [ = ]
70-
{
71-
disconnect( mAtlasCoverageLayerComboBox, &QgsMapLayerComboBox::layerChanged, mAtlasSortExpressionWidget, &QgsFieldExpressionWidget::setLayer );
72-
disconnect( mAtlasCoverageLayerComboBox, &QgsMapLayerComboBox::layerChanged, mPageNameWidget, &QgsFieldExpressionWidget::setLayer );
73-
disconnect( mAtlasCoverageLayerComboBox, &QgsMapLayerComboBox::layerChanged, this, &QgsLayoutAtlasWidget::changeCoverageLayer );
74-
} );
75-
7668
updateGuiElements();
7769
}
7870

0 commit comments

Comments
 (0)
Please sign in to comment.