fix(modals): adjust focus handling in ClipboardHistoryModal & DankModalHost

This commit is contained in:
purian23
2026-09-20 02:30:34 -04:00
parent 5d65deeb37
commit b84fa410ce
2 changed files with 1 additions and 3 deletions
@@ -21,7 +21,6 @@ DankModal {
function show() {
open();
shouldHaveFocus = true;
Qt.callLater(function () {
if (contentLoader.item) {
+1 -2
View File
@@ -323,8 +323,7 @@ Item {
clickCatcher.item.present();
contentWindow.visible = true;
opened();
shouldHaveFocus = false;
Qt.callLater(() => shouldHaveFocus = Qt.binding(() => shouldBeVisible));
shouldHaveFocus = Qt.binding(() => shouldBeVisible);
}
on_SurfaceFrameReadyChanged: {