Add missing await in option reset

Defect introduced in d655455304
Fix #7196
This commit is contained in:
phosit 2024-11-11 18:56:36 +01:00 committed by phosit
parent 1f60a9b22d
commit d98c93b35e

View file

@ -357,7 +357,7 @@ function enableButtons()
async function setDefaults()
{
const buttonIndex = messageBox(
const buttonIndex = await messageBox(
500, 200,
translate("Resetting the options will erase your saved settings. Do you want to continue?"),
translate("Warning"),