mirror of
https://github.com/dragonpilot/dragonpilot.git
synced 2026-06-25 16:02:14 +08:00
QT: click outside of confirmation dialog to dismiss (#20394)
This commit is contained in:
@@ -115,6 +115,7 @@ void InputDialog::setMinLength(int length){
|
||||
|
||||
ConfirmationDialog::ConfirmationDialog(QString prompt_text, QString confirm_text, QString cancel_text,
|
||||
QWidget *parent):QDialog(parent) {
|
||||
setWindowFlags(Qt::Popup);
|
||||
layout = new QVBoxLayout();
|
||||
layout->setMargin(25);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user