Skip to content
Permalink
Browse files

Merge pull request #8795 from ismailsunni/clean_shortcut_list

Remove empty action in shortcut configuration list.
  • Loading branch information
elpaso committed Jan 6, 2019
2 parents 48db864 + 48e4525 commit c6b0ae0aaf6bbce12dadbda6fa8d0df9b0ef55e2
Showing with 5 additions and 0 deletions.
  1. +5 −0 src/gui/qgsconfigureshortcutsdialog.cpp
@@ -83,6 +83,11 @@ void QgsConfigureShortcutsDialog::populateActions()
continue;
}

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

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

0 comments on commit c6b0ae0

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