Skip to content

Commit

Permalink
add placeholder when new help location entry added (fix #16157)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexbruy committed May 1, 2017
1 parent 1225203 commit 3cd37be
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/app/qgsoptions.cpp
Expand Up @@ -1748,9 +1748,10 @@ void QgsOptions::on_mBtnRemovePluginPath_clicked()
void QgsOptions::on_mBtnAddHelpPath_clicked()
{
QTreeWidgetItem *item = new QTreeWidgetItem();
item->setText( 0, QString() );
item->setText( 0, QStringLiteral( "HELP_LOCATION" ) );
item->setFlags( Qt::ItemIsEnabled | Qt::ItemIsSelectable | Qt::ItemIsEditable );
mHelpPathTreeWidget->addTopLevelItem( item );
mHelpPathTreeWidget->setCurrentItem( item );
}

void QgsOptions::on_mBtnRemoveHelpPath_clicked()
Expand Down

0 comments on commit 3cd37be

Please sign in to comment.