Window: keyPressEvent: don't show empty shortcuts
This commit is contained in:
부모
98cff50c41
커밋
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());
|
||||
|
불러오는 중...
Reference in New Issue
Block a user