Skip to content
Permalink
Browse files

Fix setting renderer symbol properties from context menu (fix #15145)

  • Loading branch information
nyalldawson committed Jun 27, 2016
1 parent 45b8783 commit 5078e464feb5faeafe07a269fac1171af48252f1
@@ -915,6 +915,12 @@ QgsCategoryList QgsCategorizedSymbolRendererV2Widget::selectedCategoryList()
return cl;
}

void QgsCategorizedSymbolRendererV2Widget::refreshSymbolView()
{
populateCategories();
emit widgetChanged();
}

void QgsCategorizedSymbolRendererV2Widget::showSymbolLevels()
{
showSymbolLevelsDialog( mRenderer );
@@ -158,7 +158,7 @@ class GUI_EXPORT QgsCategorizedSymbolRendererV2Widget : public QgsRendererV2Widg

QList<QgsSymbolV2*> selectedSymbols() override;
QgsCategoryList selectedCategoryList();
void refreshSymbolView() override { populateCategories(); }
void refreshSymbolView() override;
void keyPressEvent( QKeyEvent* event ) override;

protected:
@@ -400,6 +400,7 @@ void QgsRuleBasedRendererV2Widget::refreshSymbolView()
treeRules->populateRules();
}
*/
emit widgetChanged();
}

void QgsRuleBasedRendererV2Widget::keyPressEvent( QKeyEvent* event )
@@ -654,7 +655,7 @@ QgsRendererRulePropsWidget::QgsRendererRulePropsWidget( QgsRuleBasedRendererV2::

connect( btnExpressionBuilder, SIGNAL( clicked() ), this, SLOT( buildExpression() ) );
connect( btnTestFilter, SIGNAL( clicked() ), this, SLOT( testFilter() ) );
connect( editFilter, SIGNAL(textChanged(QString)), this, SIGNAL(widgetChanged()));
connect( editFilter, SIGNAL( textChanged( QString ) ), this, SIGNAL( widgetChanged() ) );

}

0 comments on commit 5078e46

Please sign in to comment.
You can’t perform that action at this time.