1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-24 21:42:51 -05:00

welcome: add a first launch welcome page with doctor integration

fixes #760
This commit is contained in:
bbedward
2026-01-04 19:07:34 -05:00
parent 7ac5191e8d
commit d23fc9f2df
20 changed files with 1890 additions and 13 deletions

View File

@@ -41,14 +41,14 @@ FloatingWindow {
onVisibleChanged: {
if (visible) {
if (parentModal) {
if (parentModal && "shouldHaveFocus" in parentModal) {
parentModal.shouldHaveFocus = false;
parentModal.allowFocusOverride = true;
}
content.reset();
Qt.callLater(() => content.forceActiveFocus());
} else {
if (parentModal) {
if (parentModal && "allowFocusOverride" in parentModal) {
parentModal.allowFocusOverride = false;
parentModal.shouldHaveFocus = Qt.binding(() => parentModal.shouldBeVisible);
}