Skip to content

Commit 94f8d9e

Browse files
committed
Changed the skip condition so settings belonging to a SettingGroup are always skipped in the main list fixing cases where some settings were appearing twice
1 parent 0a9089f commit 94f8d9e

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/net/wurstclient/navigator/NavigatorFeatureScreen.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ public NavigatorFeatureScreen(Feature feature, NavigatorMainScreen parent)
6969

7070
for(Setting setting : feature.getSettings().values())
7171
{
72-
if(!setting.isVisibleInGui() && !isShownViaAnySettingGroup(setting))
72+
if(isShownViaAnySettingGroup(setting))
73+
continue;
74+
if(!setting.isVisibleInGui())
7375
continue;
7476

7577
Component c;

0 commit comments

Comments
 (0)