Skip to content

Commit

Permalink
Merge branch 'master' of github.com:qgis/Quantum-GIS
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jun 14, 2012
2 parents adca9d3 + efb54ea commit f9ff8cc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
12 changes: 8 additions & 4 deletions src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -87,7 +87,11 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
if ( func.mParams >= 1 )
name += "(";
registerItem( func.mGroup, func.mName, " " + name + " " );
};
}

#if QT_VERSION >= 0x040700
txtSearchEdit->setPlaceHolderText( tr( "Search" ) );
#endif
}


Expand All @@ -114,9 +118,9 @@ void QgsExpressionBuilderWidget::currentChanged( const QModelIndex &index, const
mValueListWidget->clear();
}

btnLoadAll->setVisible(item->getItemType() == QgsExpressionItem::Field);
btnLoadSample->setVisible(item->getItemType() == QgsExpressionItem::Field);
mValueGroupBox->setVisible(item->getItemType() == QgsExpressionItem::Field);
btnLoadAll->setVisible( item->getItemType() == QgsExpressionItem::Field );
btnLoadSample->setVisible( item->getItemType() == QgsExpressionItem::Field );
mValueGroupBox->setVisible( item->getItemType() == QgsExpressionItem::Field );

// Show the help for the current item.
QString help = loadFunctionHelp( item );
Expand Down
3 changes: 0 additions & 3 deletions src/ui/qgsexpressionbuilder.ui
Expand Up @@ -79,9 +79,6 @@
<property name="enabled">
<bool>true</bool>
</property>
<property name="placeholderText">
<string>Search</string>
</property>
</widget>
</item>
</layout>
Expand Down

0 comments on commit f9ff8cc

Please sign in to comment.