mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
add placeholder when new help location entry added (fix #16157)
This commit is contained in:
parent
12252030ac
commit
3cd37be0d6
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user