From ad8e78cd096e23dc31ac32687c0dfe16f723b5cd Mon Sep 17 00:00:00 2001 From: jonnyl2 <95502269+jonnyl2@users.noreply.github.com> Date: Fri, 21 Jun 2024 23:37:09 +0200 Subject: [PATCH] Fix save screenshot dialog wasn't modal (#12067) Screenshot dialog could not be interacted with in Text editor. Closes #12066. --- frontend/ui/widget/screenshoter.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/ui/widget/screenshoter.lua b/frontend/ui/widget/screenshoter.lua index 8975e20ea..71e42c70d 100644 --- a/frontend/ui/widget/screenshoter.lua +++ b/frontend/ui/widget/screenshoter.lua @@ -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