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

Minor docs change on Chapter 2 #56

Merged
merged 2 commits into from
Feb 8, 2024
Merged

Conversation

archermarx
Copy link
Contributor

@archermarx archermarx commented Jan 11, 2024

There was a typo in Chapter 2 in the part about blocking signals which has been fixed. The section:

    connect_signal_clicked!(button_02) do button_02::Button, button_01::Button
        println("02 clicked")

        # block self (02)
        set_signal_clicked_blocked!(button_02, true)

        # activate other (01)
        emit_signal_clicked(button_01)

        # unblock self (02)
        set_signal_clicked_blocked!(button_02, false)
    end

should have had a button_01 as a second arg to connect_signal_clicked!

@Clemapfel Clemapfel merged commit 3fe2e89 into Clemapfel:main Feb 8, 2024
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.

None yet

2 participants