Skip to content

Commit

Permalink
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: http://svn.osgeo.org/qgis/trunk@13325 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Apr 18, 2010
1 parent 8b2b84f commit 9b4e8c0
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
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
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 9b4e8c0

Please sign in to comment.