Window: keyPressEvent: don't show empty shortcuts

这个提交包含在:
Albert S. 2020-10-10 22:25:15 +02:00
父节点 98cff50c41
当前提交 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());