Window: keyPressEvent: don't show empty shortcuts
Šī revīzija ir iekļauta:
vecāks
98cff50c41
revīzija
adfb065358
@ -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());
|
||||
|
Notiek ielāde…
Atsaukties uz šo jaunā problēmā
Block a user