Skip to content

Conversation

@giswqs
Copy link
Member

@giswqs giswqs commented Aug 31, 2023

Fix #1686

The refactoring in #1671 added the following function to invoke the layer visualization GUI. However, button.tooltip was not initialized when creating buttons, resulting in no action when the button is clicked. This PR fixes this bug.

@naschmitz

    def _on_layer_settings_click(self, button):
        if self.on_open_vis:
            self.on_open_vis(button.tooltip)

Peek 2023-08-31 13-30

@github-actions
Copy link

@github-actions github-actions bot temporarily deployed to pull request August 31, 2023 17:42 Inactive
@giswqs giswqs merged commit e29a067 into master Aug 31, 2023
@giswqs giswqs deleted the layer-vis branch August 31, 2023 17:43
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.

Layer visualization GUI not working

2 participants