Window: keyPressEvent: don't show empty shortcuts

Este commit está contenido en:
Albert S. 2020-10-10 22:25:15 +02:00
padre 98cff50c41
commit adfb065358

Ver fichero

@ -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());