dankdash: fix binding breaking when clicking overview card

fixes #1170
This commit is contained in:
bbedward committed 2025-12-27 00:58:47 -05:00
1 parent 6c4caf121a
commit 3ebdd5631c
1 file changed
+2 -4
@@ -338,13 +338,11 @@ DankPopout {
onCloseDash: root.dashVisible = false
onSwitchToWeatherTab: {
if (SettingsData.weatherEnabled) {
tabBar.currentIndex = 3;
tabBar.tabClicked(3);
root.currentTabIndex = 3;
}
}
onSwitchToMediaTab: {
tabBar.currentIndex = 1;
tabBar.tabClicked(1);
root.currentTabIndex = 1;
}
}
}