Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.9.3, 5.12.3
Description
Given the following:
QMessageBox::warning(this, "Error", "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod", QMessageBox::Yes | QMessageBox::No, QMessageBox::NoAll);
Since QMessageBox::NoAll is not in the QMessageBox::StandardButtons given as input the result is as follows:
IMPO, if default button is not part of the buttons given, then default to one of them.