Skip to content

Commit

Permalink
Merge pull request #8795 from ismailsunni/clean_shortcut_list
Browse files Browse the repository at this point in the history
Remove empty action in shortcut configuration list.
  • Loading branch information
elpaso committed Jan 6, 2019
2 parents 48db864 + 48e4525 commit c6b0ae0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/gui/qgsconfigureshortcutsdialog.cpp
Expand Up @@ -83,6 +83,11 @@ void QgsConfigureShortcutsDialog::populateActions()
continue;
}

if ( actionText.length() == 0 )
{
continue;
}

QStringList lst;
lst << actionText << sequence;
QTreeWidgetItem *item = new QTreeWidgetItem( lst );
Expand Down

0 comments on commit c6b0ae0

Please sign in to comment.