@@ -454,8 +454,6 @@ void QgsRasterLayerProperties::setMinimumMaximumEstimateWarning()
454
454
void QgsRasterLayerProperties::sync ()
455
455
{
456
456
QgsDebugMsg ( " called." );
457
- cboxShowDebugInfo->hide ();
458
-
459
457
QgsDebugMsg ( " sync populate symbology tab" );
460
458
/*
461
459
* Symbology Tab
@@ -786,15 +784,11 @@ void QgsRasterLayerProperties::sync()
786
784
/*
787
785
* General Tab
788
786
*/
789
- cboxShowDebugInfo->hide ();
790
787
791
788
// these properties (layer name and label) are provided by the qgsmaplayer superclass
792
789
leLayerSource->setText ( mRasterLayer ->source () );
793
790
leDisplayName->setText ( mRasterLayer ->name () );
794
791
795
- // update the debug checkbox
796
- cboxShowDebugInfo->setChecked ( mRasterLayer ->getShowDebugOverlayFlag () );
797
-
798
792
// display the raster dimensions and no data value
799
793
if ( mRasterLayerIsGdal )
800
794
{
@@ -1418,15 +1412,7 @@ void QgsRasterLayerProperties::apply()
1418
1412
*/
1419
1413
mRasterLayer ->setLayerName ( leDisplayName->text () );
1420
1414
1421
- // see if the user would like debug overlays
1422
- if ( cboxShowDebugInfo->isChecked () == true )
1423
- {
1424
- mRasterLayer ->setShowDebugOverlayFlag ( true );
1425
- }
1426
- else
1427
- {
1428
- mRasterLayer ->setShowDebugOverlayFlag ( false );
1429
- }
1415
+ mRasterLayer ->setShowDebugOverlayFlag ( true );
1430
1416
1431
1417
// set up the scale based layer visibility stuff....
1432
1418
mRasterLayer ->setScaleBasedVisibility ( chkUseScaleDependentRendering->isChecked () );
0 commit comments