mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Remove the empty Description column from Interface Customization dialog
This commit is contained in:
parent
2533960c20
commit
5b64af1365
@ -59,7 +59,7 @@ QgsCustomizationDialog::QgsCustomizationDialog( QWidget * parent, QSettings * se
|
||||
|
||||
init();
|
||||
QStringList myHeaders;
|
||||
myHeaders << tr( "Object name" ) << tr( "Label" ) << tr( "Description" );
|
||||
myHeaders << tr( "Object name" ) << tr( "Label" );
|
||||
treeWidget->setHeaderLabels( myHeaders );
|
||||
|
||||
mLastDirSettingsName = QStringLiteral( "/UI/lastCustomizationDir" );
|
||||
@ -354,7 +354,6 @@ QTreeWidgetItem *QgsCustomizationDialog::readWidgetsXmlNode( const QDomNode &nod
|
||||
QStringList data( name );
|
||||
|
||||
data << myElement.attribute( QStringLiteral( "label" ), name );
|
||||
data << myElement.attribute( QStringLiteral( "description" ), QLatin1String( "" ) );
|
||||
|
||||
QTreeWidgetItem *myItem = new QTreeWidgetItem( data );
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
||||
<enum>QAbstractItemView::SelectItems</enum>
|
||||
</property>
|
||||
<property name="columnCount">
|
||||
<number>3</number>
|
||||
<number>2</number>
|
||||
</property>
|
||||
<attribute name="headerVisible">
|
||||
<bool>true</bool>
|
||||
@ -43,11 +43,6 @@
|
||||
<string notr="true">2</string>
|
||||
</property>
|
||||
</column>
|
||||
<column>
|
||||
<property name="text">
|
||||
<string notr="true">3</string>
|
||||
</property>
|
||||
</column>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
|
Loading…
x
Reference in New Issue
Block a user