Skip to content

Qualify add_font calls in uilib/config#174

Open
sastraxi wants to merge 2 commits into
TreeFallSound:pistomp-v3from
sastraxi:fix/config-set-defaults
Open

Qualify add_font calls in uilib/config#174
sastraxi wants to merge 2 commits into
TreeFallSound:pistomp-v3from
sastraxi:fix/config-set-defaults

Conversation

@sastraxi

Copy link
Copy Markdown
Collaborator

This code path was broken (just unused) because it wasn't calling self.*.

_set_defaults() used bare add_font and add_color names instead of
self.add_font / self.add_color. This was latent because the singleton
path always returned the existing instance, but constructing a fresh
standalone Config() would raise NameError.
@sastraxi sastraxi requested a review from rreichenbach June 11, 2026 22:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant