Skip to content

Commit

Permalink
Close button removed from RAT dlg
Browse files Browse the repository at this point in the history
  • Loading branch information
elpaso authored and nyalldawson committed Nov 8, 2022
1 parent 92feff0 commit ff539d9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
1 change: 0 additions & 1 deletion src/gui/raster/qgsrasterattributetabledialog.cpp
Expand Up @@ -25,7 +25,6 @@ QgsRasterAttributeTableDialog::QgsRasterAttributeTableDialog( QgsRasterLayer *ra
mRatWidget->setRasterLayer( rasterLayer, bandNumber );
setWindowTitle( tr( "Raster Attribute Table for %1" ).arg( rasterLayer->name() ) );

connect( mButtonBox, &QDialogButtonBox::rejected, this, &QgsRasterAttributeTableDialog::reject );
connect( rasterLayer, &QgsRasterLayer::dataSourceChanged, this, &QgsRasterAttributeTableDialog::reject );
connect( rasterLayer, &QgsRasterLayer::willBeDeleted, this, &QgsRasterAttributeTableDialog::reject );

Expand Down
7 changes: 0 additions & 7 deletions src/ui/raster/qgsrasterattributetabledialogbase.ui
Expand Up @@ -32,13 +32,6 @@
<item>
<widget class="QgsRasterAttributeTableWidget" name="mRatWidget" native="true"/>
</item>
<item>
<widget class="QDialogButtonBox" name="mButtonBox">
<property name="standardButtons">
<set>QDialogButtonBox::Close</set>
</property>
</widget>
</item>
</layout>
</widget>
<customwidgets>
Expand Down

0 comments on commit ff539d9

Please sign in to comment.