settings: remove unnecessary page check for anim

This commit is contained in:
end-4
2025-09-28 18:05:31 +02:00
parent bd8e004795
commit 7876ab993a
+2 -4
View File
@@ -224,10 +224,8 @@ ApplicationWindow {
Connections { Connections {
target: root target: root
function onCurrentPageChanged() { function onCurrentPageChanged() {
if (pageLoader.sourceComponent !== root.pages[root.currentPage].component) { switchAnim.complete();
switchAnim.complete(); switchAnim.start();
switchAnim.start();
}
} }
} }