diff --git a/src/Qt5/imports/FluentUI/Controls/FluNavigationView.qml b/src/Qt5/imports/FluentUI/Controls/FluNavigationView.qml index 3d06ad29..a9497751 100644 --- a/src/Qt5/imports/FluentUI/Controls/FluNavigationView.qml +++ b/src/Qt5/imports/FluentUI/Controls/FluNavigationView.qml @@ -1313,7 +1313,7 @@ Item { d.stackItems = d.stackItems.concat(nav_list.model[nav_list.currentIndex]) } function noStackPush(){ - if(loader_content.source.toString() === url){ + if(loader_content.source.toString() === url && Object.keys(argument).length === 0){ return } loader_content.setSource(url,argument) diff --git a/src/Qt6/imports/FluentUI/Controls/FluNavigationView.qml b/src/Qt6/imports/FluentUI/Controls/FluNavigationView.qml index b9b2a229..c5205446 100644 --- a/src/Qt6/imports/FluentUI/Controls/FluNavigationView.qml +++ b/src/Qt6/imports/FluentUI/Controls/FluNavigationView.qml @@ -1314,7 +1314,7 @@ Item { d.stackItems = d.stackItems.concat(nav_list.model[nav_list.currentIndex]) } function noStackPush(){ - if(loader_content.source.toString() === url){ + if(loader_content.source.toString() === url && Object.keys(argument).length === 0){ return } loader_content.setSource(url,argument)