Skip to content
Permalink
Browse files

edit widget: fix ranges (followup 91e44ea; fixes #12421)

  • Loading branch information
jef-n committed Jun 29, 2015
1 parent 9531e68 commit 2bd5b89319118d19692e16f93bd3942c99d827a9
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/gui/editorwidgets/qgsrangeconfigdlg.cpp
@@ -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 );

@@ -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" );

0 comments on commit 2bd5b89

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