Showing the changes to interface/src/scripting/WindowScriptingInterface.cpp (1 of 27 files). Show all
Unified · Split
| @@ -522,7 +522,7 @@ int WindowScriptingInterface::openMessageBox(QString title, QString text, int bu · 521 unmodified lines | ||
| 522 | 522 | * <tr> <td><strong>RestoreDefaults</strong></td> <td><code>0x8000000</code></td> <td>"Restore Defaults"</td> </tr> |
| 523 | 523 | * </tbody> |
| 524 | 524 | * </table> |
| 525 | − * @typedef Window.MessageBoxButton | |
| 525 | + * @typedef {number} Window.MessageBoxButton | |
| 526 | 526 | */ |
| 527 | 527 | int WindowScriptingInterface::createMessageBox(QString title, QString text, int buttons, int defaultButton) { |
| 528 | 528 | auto messageBox = DependencyManager::get<OffscreenUi>()->createMessageBox(OffscreenUi::ICON_INFORMATION, title, text, |