Skip to content


SVG fill widget: don't require user to "activate" the svg item (by do…
Browse files Browse the repository at this point in the history
…uble clicking) - apply new fill when current item is changed

git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 18, 2010
1 parent f55fbbf commit 38e0d17
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/gui/symbology-ng/qgssymbollayerv2widget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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() );
Expand Down
2 changes: 1 addition & 1 deletion src/gui/symbology-ng/qgssymbollayerv2widget.h
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down

0 comments on commit 38e0d17

Please sign in to comment.