Skip to content

Commit

Permalink
Remove empty action in shortcut configuration list.
Browse files Browse the repository at this point in the history
  • Loading branch information
ismailsunni committed Jan 6, 2019
1 parent 48db864 commit 48e4525
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 48e4525

Please sign in to comment.