mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 04:38:49 +00:00
Add NonDefaultQPushButton to set autoDefault of buttons to false
This commit is contained in:
parent
9af9e791f6
commit
a4d031cfda
23 changed files with 111 additions and 60 deletions
|
@ -24,6 +24,7 @@
|
|||
#include "Core/HW/Memmap.h"
|
||||
#include "Core/PowerPC/MMU.h"
|
||||
#include "DolphinQt/QtUtils/ModalMessageBox.h"
|
||||
#include "DolphinQt/QtUtils/NonDefaultQPushButton.h"
|
||||
|
||||
CheatSearchFactoryWidget::CheatSearchFactoryWidget()
|
||||
{
|
||||
|
@ -118,7 +119,7 @@ void CheatSearchFactoryWidget::CreateWidgets()
|
|||
|
||||
layout->addWidget(data_type_group);
|
||||
|
||||
m_new_search = new QPushButton(tr("New Search"));
|
||||
m_new_search = new NonDefaultQPushButton(tr("New Search"));
|
||||
layout->addWidget(m_new_search);
|
||||
|
||||
setLayout(layout);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue