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

Screenshot dialog could not be interacted with in Text editor. Closes #12066.
This commit is contained in:
jonnyl2
2024-06-21 23:37:09 +02:00
committed by GitHub
parent 527fd05d25
commit ad8e78cd09

View File

@@ -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