Skip to content
Permalink
Browse files

SVG fill widget: don't require user to "activate" the svg item (by do…

…uble clicking) - apply new fill when current item is changed

git-svn-id: http://svn.osgeo.org/qgis/trunk@13325 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Apr 18, 2010
1 parent 8b2b84f commit 9b4e8c0971da4c72c6c32b83b458028d3b014a48
@@ -628,7 +628,7 @@ void QgsSVGFillSymbolLayerWidget::on_mSVGLineEdit_textChanged( const QString & t
emit changed();
}

void QgsSVGFillSymbolLayerWidget::on_mSvgListWidget_itemActivated( QListWidgetItem* item )
void QgsSVGFillSymbolLayerWidget::on_mSvgListWidget_currentItemChanged( QListWidgetItem* item, QListWidgetItem* previous )
{
mSVGLineEdit->setText( item->data( Qt::UserRole ).toString() );
}
@@ -242,7 +242,7 @@ class GUI_EXPORT QgsSVGFillSymbolLayerWidget : public QgsSymbolLayerV2Widget, pr
void on_mBrowseToolButton_clicked();
void on_mTextureWidthSpinBox_valueChanged( double d );
void on_mSVGLineEdit_textChanged( const QString & text );
void on_mSvgListWidget_itemActivated( QListWidgetItem* item );
void on_mSvgListWidget_currentItemChanged( QListWidgetItem* item, QListWidgetItem* previous );
void on_mChangeOutlinePushButton_clicked();
};

0 comments on commit 9b4e8c0

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