Skip to content

Commit

Permalink
edit widget: fix ranges (followup 91e44ea; fixes #12421)
Browse files Browse the repository at this point in the history
  • Loading branch information
jef-n committed Jun 29, 2015
1 parent a486c7c commit c6996ac
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/gui/editorwidgets/qgsrangeconfigdlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@

#include "qgsvectorlayer.h"

QgsRangeConfigDlg::QgsRangeConfigDlg( QgsVectorLayer* vl, int fieldIdx, QWidget *parent ) :
QgsEditorConfigWidget( vl, fieldIdx, parent )
QgsRangeConfigDlg::QgsRangeConfigDlg( QgsVectorLayer* vl, int fieldIdx, QWidget *parent )
: QgsEditorConfigWidget( vl, fieldIdx, parent )
{
setupUi( this );

Expand All @@ -30,7 +30,7 @@ QgsRangeConfigDlg::QgsRangeConfigDlg( QgsVectorLayer* vl, int fieldIdx, QWidget
case QVariant::LongLong:
case QVariant::Double:
{
rangeStackedWidget->setCurrentIndex( vl->pendingFields()[fieldIdx].type() == QVariant::Double ? 0 : 1 );
rangeStackedWidget->setCurrentIndex( vl->pendingFields()[fieldIdx].type() == QVariant::Double ? 1 : 0 );

rangeWidget->clear();
rangeWidget->addItem( tr( "Editable" ), "SpinBox" );
Expand Down

0 comments on commit c6996ac

Please sign in to comment.