mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-07-08 23:22:04 +08:00
QT: click outside of confirmation dialog to dismiss (#20394)
old-commit-hash: 90da15778cd69cb791bade97f75bd6c62e723200
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