mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Disable close button as the default when pressing enter
It can be triggered using ESC
This commit is contained in:
parent
b5251f9416
commit
5459ff78cf
@ -57,6 +57,9 @@ void ComicVineDialog::doLayout()
|
||||
searchButton = new QPushButton(tr("search"));
|
||||
closeButton = new QPushButton(tr("close"));
|
||||
|
||||
closeButton->setDefault(false);
|
||||
closeButton->setAutoDefault(false);
|
||||
|
||||
skipButton->setStyleSheet(dialogButtonsStyleSheet);
|
||||
backButton->setStyleSheet(dialogButtonsStyleSheet);
|
||||
nextButton->setStyleSheet(dialogButtonsStyleSheet);
|
||||
|
Loading…
Reference in New Issue
Block a user