Skip to content

Commit

Permalink
Default the groups to toggle active instead
Browse files Browse the repository at this point in the history
  • Loading branch information
John-Dean committed Apr 3, 2023
1 parent dfa7b29 commit ec04bdc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ void loadShaderTogglerIniFile()
for(auto& group: g_toggleGroups)
{
group.loadState(iniFile, groupCounter); // groupCounter is normally 0 or greater. For when the old format is detected, it's -1 (and there's 1 group).
group.toggleActive();
groupCounter++;
}
}
Expand Down

0 comments on commit ec04bdc

Please sign in to comment.