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/qgis@13325 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 18, 2010
1 parent f55fbbf commit 38e0d17c547db1194a0ceb24b7ff1bff5c59392f
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/gui/symbology-ng/qgssymbollayerv2widget.cpp
  2. +1 −1 src/gui/symbology-ng/qgssymbollayerv2widget.h
@@ -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 38e0d17

Please sign in to comment.