File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -225,7 +225,7 @@ void QgsMapStylingWidget::redo()
225
225
226
226
void QgsMapStylingWidget::updateCurrentWidgetLayer ()
227
227
{
228
- QgsDebugMsg ( " UPDATE!!!" );
228
+ QgsDebugMsgLevel ( " UPDATE!!!" , 4 );
229
229
mBlockAutoApply = true ;
230
230
231
231
QgsMapLayer* layer = mCurrentLayer ;
@@ -251,10 +251,6 @@ void QgsMapStylingWidget::updateCurrentWidgetLayer()
251
251
{
252
252
mRasterStyleWidget = widget;
253
253
}
254
- else
255
- {
256
- current->deleteLater ();
257
- }
258
254
259
255
// Create the user page widget if we are on one of those pages
260
256
// TODO Make all widgets use this method.
@@ -323,7 +319,7 @@ void QgsMapStylingWidget::updateCurrentWidgetLayer()
323
319
mWidgetArea ->setWidget ( transwidget );
324
320
break ;
325
321
}
326
- case 2 : // Transparency
322
+ case 2 : // Histogram
327
323
{
328
324
if ( mRasterStyleWidget )
329
325
{
You can’t perform that action at this time.
1 commit comments
NathanW2 commentedon Jun 11, 2016
Thanks