Fix save screenshot dialog wasn't modal (#12067)

Screenshot dialog could not be interacted with in Text editor. Closes #12066.
reviewable/pr12074/r1
jonnyl2 3 months ago committed by GitHub
parent 527fd05d25
commit ad8e78cd09
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -94,6 +94,7 @@ function Screenshoter:onScreenshot(screenshot_name, caller_callback)
}
dialog = ButtonDialog:new{
title = _("Screenshot saved to:") .. "\n\n" .. BD.filepath(screenshot_name) .. "\n",
modal = true,
buttons = buttons,
tap_close_callback = function()
if caller_callback then

Loading…
Cancel
Save