Skip to content
Permalink
Browse files

Fix #14979 - Restore default style correctly

  • Loading branch information
NathanW2 committed Jul 6, 2016
1 parent fdf16e3 commit 123607be71802759964725be84447aad03b3e836
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/gui/qgsmaplayerstylemanagerwidget.cpp
@@ -94,6 +94,9 @@ void QgsMapLayerStyleManagerWidget::styleClicked( QModelIndex index )
return;

QString name = index.data().toString();
if ( name == "(default)" )
name = "";

mLayer->styleManager()->setCurrentStyle( name );
}

0 comments on commit 123607b

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