[games/chessament] src/qml: Fix standings not reloading under some circunstances

Manuel Alcaraz Zambrano <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit d2344427b89e027a7ef14d40d09f269a9ae0327a by Manuel Alcaraz Zambrano.
Committed on 03/08/2026 at 21:35.
Pushed by manuelal into branch 'master'.

Fix standings not reloading under some circunstances

M  +2    -2    src/qml/StandingsPage.qml

https://invent.kde.org/games/chessament/-/commit/d2344427b89e027a7ef14d40d09f269a9ae0327a

diff --git a/src/qml/StandingsPage.qml b/src/qml/StandingsPage.qml
index d0aac85..3b23050 100644
--- a/src/qml/StandingsPage.qml
+++ b/src/qml/StandingsPage.qml
@@ -96,13 +96,13 @@ TablePage {
         target: Controller
 
         function onAreStandingsValidChanged() {
-            if (!Controller.areStandingsValid && Controller.currentView === "StandingsPage") {
+            if (!Controller.areStandingsValid && Controller.currentView === Controller.View.Standings) {
                 Controller.reloadStandings(root.round);
             }
         }
 
         function onCurrentViewChanged() {
-            if (!Controller.areStandingsValid && Controller.currentView === "StandingsPage") {
+            if (!Controller.areStandingsValid && Controller.currentView === Controller.View.Standings) {
                 Controller.reloadStandings(root.round);
             }
         }
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.