Window: keyPressEvent: don't show empty shortcuts

このコミットが含まれているのは:
Albert S. 2020-10-10 22:25:15 +02:00
コミット adfb065358
1個のファイルの変更4行の追加1行の削除

ファイルの表示

@ -381,7 +381,10 @@ void Window::keyPressEvent(QKeyEvent *event)
for(EntryPushButton *button : buttonsInGrid)
{
button->showShortcut();
if(!button->getEntryConfig().key.isEmpty())
{
button->showShortcut();
}
}
QKeySequence seq(event->key());