Skip to content
Permalink
Browse files

Remove the empty Description column from Interface Customization dialog

  • Loading branch information
DelazJ authored and m-kuhn committed Oct 26, 2017
1 parent 2533960 commit 5b64af13654dc2738f5dfbd6376b52bdb880ba7d
Showing with 2 additions and 8 deletions.
  1. +1 −2 src/app/qgscustomization.cpp
  2. +1 −6 src/ui/qgscustomizationdialogbase.ui
@@ -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>

0 comments on commit 5b64af1

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