]> git.lyx.org Git - lyx.git/commitdiff
#12818 correct evaluation of message box result info
authorStephan Witt <switt@lyx.org>
Sun, 16 Jul 2023 14:48:49 +0000 (16:48 +0200)
committerStephan Witt <switt@lyx.org>
Sun, 16 Jul 2023 14:49:02 +0000 (16:49 +0200)
The help page of int QMessageBox::exec() (​https://doc.qt.io/qt-6/qmessagebox.html#exec) says:
When using a QMessageBox with standard buttons, this function returns a StandardButton value indicating the standard button that was clicked.
When using QMessageBox with custom buttons, this function returns an opaque value; use clickedButton() to determine which button was clicked.


No differences found