Skip to content

Commit c6b0ae0

Browse files
authoredJan 6, 2019
Merge pull request #8795 from ismailsunni/clean_shortcut_list
Remove empty action in shortcut configuration list.
2 parents 48db864 + 48e4525 commit c6b0ae0

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed
 

‎src/gui/qgsconfigureshortcutsdialog.cpp

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,11 @@ void QgsConfigureShortcutsDialog::populateActions()
8383
continue;
8484
}
8585

86+
if ( actionText.length() == 0 )
87+
{
88+
continue;
89+
}
90+
8691
QStringList lst;
8792
lst << actionText << sequence;
8893
QTreeWidgetItem *item = new QTreeWidgetItem( lst );

0 commit comments

Comments
 (0)
Please sign in to comment.