Skip to content

Comments

fix(tui): fix panic for appling missing profile#146

Merged
fiffeek merged 1 commit intofiffeek:mainfrom
Kazimazi:fix-missing-profile
Feb 2, 2026
Merged

fix(tui): fix panic for appling missing profile#146
fiffeek merged 1 commit intofiffeek:mainfrom
Kazimazi:fix-missing-profile

Conversation

@Kazimazi
Copy link
Contributor

What does this PR do?

Fixes a TUI crash, when trying to "apply monitors to existing profile", when no initial profile has been made.

Error messages might not be perfect, I'm open for input. :)

Why is this change important?

Crash bad.

How to test this PR locally?

While unit tests had not been made, you can test by opening tui with empty config, and trying to "apply monitors to existing profile". It should give the user a useful error message: "Apply Profile: profile missing".

touch empty.conf
hyprdynamicmonitors tui --config empty.conf

Related issues

#133

@fiffeek fiffeek merged commit ce4292c into fiffeek:main Feb 2, 2026
0 of 2 checks passed
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.

2 participants