Qt: set find_dialog "next" button to default

This commit is contained in:
Megamouse 2021-03-29 16:12:41 +02:00
parent 0b2ba98238
commit 90ac24e524

View File

@ -38,6 +38,8 @@ find_dialog::find_dialog(QTextEdit* edit, QWidget *parent, Qt::WindowFlags f) :
connect(m_find_next, &QPushButton::clicked, this, &find_dialog::find_next);
connect(m_find_previous, &QPushButton::clicked, this, &find_dialog::find_previous);
m_find_next->setDefault(true);
show();
}