Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

logic error #288

Open
decentjohn opened this issue Jan 4, 2024 · 0 comments
Open

logic error #288

decentjohn opened this issue Jan 4, 2024 · 0 comments
Assignees

Comments

@decentjohn
Copy link
Contributor

If this first test fails, $is_rethemed is not yet assigned and thus throws a Tcl error.

proc retheme { pages new_theme {force 0} } {
	if { ![dui theme exists $new_theme] } {
		msg -ERROR [namespace current] retheme: "new theme '$new_theme' is not a valid theme"
		**return $is_rethemed**
	}
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

No branches or pull requests

2 participants