Skip to content

Commit 48e4525

Browse files
committedJan 6, 2019
Remove empty action in shortcut configuration list.
1 parent 48db864 commit 48e4525

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.