Skip to content

Commit

Permalink
0.4.1.687 - Hot Fix
Browse files Browse the repository at this point in the history
- fixed bug with visibility of unsupported variables
  • Loading branch information
xodj committed Jun 16, 2021
1 parent 9602ce7 commit 6f8b0f5
Show file tree
Hide file tree
Showing 3 changed files with 212 additions and 254 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
cmake_minimum_required(VERSION 3.16.0)
#Project name and version
PROJECT(RyzenAdjCtrl VERSION 0.4.1.685 LANGUAGES CXX)
PROJECT(RyzenAdjCtrl VERSION 0.4.1.687 LANGUAGES CXX)
#Set version number in this ^^^^^^^^^
#BUILD_STANDALONE on UNIX or choose on Windows
if(WIN32)
Expand Down
8 changes: 6 additions & 2 deletions CtrlGui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -979,7 +979,9 @@ void CtrlGui::saveSettings(){

//Hide not supported variables
Ui::CtrlGuiAPUForm *presetForm = nullptr;
hideShow *var = conf->hideShowWarnPresetVariable(settings->apuFamilyIdx);
hideShow *var = conf->hideShowWarnPresetVariable(
settings->hideNotSupportedVariables
? settings->apuFamilyIdx : -1);
for(qsizetype i = 0;i < presetFormList->count();i++){
presetForm = presetFormList->at(i);

Expand Down Expand Up @@ -1087,7 +1089,9 @@ void CtrlGui::readSettings(){

//Hide not supported variables
Ui::CtrlGuiAPUForm *presetForm = nullptr;
hideShow *var = conf->hideShowWarnPresetVariable(settings->apuFamilyIdx);
hideShow *var = conf->hideShowWarnPresetVariable(
settings->hideNotSupportedVariables
? settings->apuFamilyIdx : -1);
for(qsizetype i = 0;i < presetFormList->count();i++){
presetForm = presetFormList->at(i);

Expand Down
Loading

0 comments on commit 6f8b0f5

Please sign in to comment.