Skip to content

Commit cdd013f

Browse files
authored
Fix overridden config options not being indicated in the GUI (#426)
1 parent 6629a9b commit cdd013f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎objdiff-gui/src/views/config.rs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ fn config_property_ui(
895895
) -> bool {
896896
let mut changed = false;
897897
let is_overridden = state.current_project_config.as_ref().is_some_and(|config| {
898-
let key = property_id.name();
898+
let key = property_id.as_str();
899899
if let Some(selected) = state.config.selected_obj.as_ref()
900900
&& let Some(units) = config.units.as_deref()
901901
&& let Some(unit) = units.iter().find(|unit| unit.name() == selected.name)

0 commit comments

Comments
 (0)