Skip to content

Commit

Permalink
vkconfig3: Fix config UI broken when toggling loader or layers sections
Browse files Browse the repository at this point in the history
  • Loading branch information
christophe-lunarg committed Dec 6, 2024
1 parent fd53381 commit b6db416
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions vkconfig_gui/tab_configurations.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -150,8 +150,12 @@ void TabConfigurations::UpdateUI_Configurations(UpdateUIMode mode) {
if (configurator.GetActiveConfiguration() == &configuration) {
item->setIcon(QIcon(":/resourcefiles/system-on.png"));
item->setToolTip(format("Using the '%s' configuration with Vulkan executables", configuration.key.c_str()).c_str());
ui->configurations_group_box_layers->blockSignals(true);
ui->configurations_group_box_layers->setChecked(configuration.override_layers);
ui->configurations_group_box_layers->blockSignals(false);
ui->configurations_group_box_loader->blockSignals(true);
ui->configurations_group_box_loader->setChecked(configuration.override_loader);
ui->configurations_group_box_loader->blockSignals(false);
current_row = static_cast<int>(i);
} else if (has_missing_layer) {
item->setIcon(QIcon(":/resourcefiles/system-invalid.png"));
Expand Down

0 comments on commit b6db416

Please sign in to comment.