Skip to content

Commit 87d25bf

Browse files
author
wonder
committed
removed attribute table behaviour setting from options (not necessary with new attribute table :-)
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@10375 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 1187a1a commit 87d25bf

File tree

2 files changed

+0
-37
lines changed

2 files changed

+0
-37
lines changed

src/app/qgsoptions.cpp

-8
Original file line numberDiff line numberDiff line change
@@ -90,13 +90,6 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WFlags fl ) :
9090
// set the current theme
9191
cmbTheme->setItemText( cmbTheme->currentIndex(), settings.value( "/Themes" ).toString() );
9292

93-
// set the attribute table behaviour
94-
cmbAttrTableBehaviour->clear();
95-
cmbAttrTableBehaviour->addItem( tr( "Show all features" ) );
96-
cmbAttrTableBehaviour->addItem( tr( "Show selected features" ) );
97-
cmbAttrTableBehaviour->addItem( tr( "Show features in current canvas" ) );
98-
cmbAttrTableBehaviour->setCurrentIndex( settings.value( "/qgis/attributeTableBehaviour", 0 ).toInt() );
99-
10093
// set the display update threshold
10194
spinBoxUpdateThreshold->setValue( settings.value( "/Map/updateThreshold" ).toInt() );
10295
//set the default projection behaviour radio buttongs
@@ -310,7 +303,6 @@ void QgsOptions::saveOptions()
310303
settings.setValue( "/qgis/showLegendClassifiers", cbxLegendClassifiers->isChecked() );
311304
settings.setValue( "/qgis/hideSplash", cbxHideSplash->isChecked() );
312305
settings.setValue( "/qgis/dockAttributeTable", cbxAttributeTableDocked->isChecked() );
313-
settings.setValue( "/qgis/attributeTableBehaviour", cmbAttrTableBehaviour->currentIndex() );
314306
settings.setValue( "/qgis/new_layers_visible", chkAddedVisibility->isChecked() );
315307
settings.setValue( "/qgis/enable_anti_aliasing", chkAntiAliasing->isChecked() );
316308
settings.setValue( "/qgis/use_qimage_to_render", !( chkUseQPixmap->isChecked() ) );

src/ui/qgsoptionsbase.ui

-29
Original file line numberDiff line numberDiff line change
@@ -220,34 +220,6 @@
220220
</property>
221221
</widget>
222222
</item>
223-
<item row="6" column="0" >
224-
<widget class="QLabel" name="textLabel1_6" >
225-
<property name="sizePolicy" >
226-
<sizepolicy vsizetype="Fixed" hsizetype="Fixed" >
227-
<horstretch>0</horstretch>
228-
<verstretch>0</verstretch>
229-
</sizepolicy>
230-
</property>
231-
<property name="text" >
232-
<string>Attribute table behaviour</string>
233-
</property>
234-
<property name="buddy" >
235-
<cstring>cmbAttrTableBehaviour</cstring>
236-
</property>
237-
</widget>
238-
</item>
239-
<item row="6" column="1" >
240-
<widget class="QComboBox" name="cmbAttrTableBehaviour" >
241-
<property name="duplicatesEnabled" >
242-
<bool>false</bool>
243-
</property>
244-
<item>
245-
<property name="text" >
246-
<string/>
247-
</property>
248-
</item>
249-
</widget>
250-
</item>
251223
</layout>
252224
</widget>
253225
</item>
@@ -1164,7 +1136,6 @@
11641136
<tabstop>spinBoxUpdateThreshold</tabstop>
11651137
<tabstop>chkAntiAliasing</tabstop>
11661138
<tabstop>chkUseQPixmap</tabstop>
1167-
<tabstop>cbxSplitterRedraw</tabstop>
11681139
<tabstop>spinBoxIdentifyValue</tabstop>
11691140
<tabstop>cmbEllipsoid</tabstop>
11701141
<tabstop>pbnMeasureColour</tabstop>

0 commit comments

Comments
 (0)