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

Do not imperatively refresh ui after Log actions #1079

Merged
merged 1 commit into from
Jan 7, 2019

Conversation

kaste
Copy link
Collaborator

@kaste kaste commented Jan 7, 2019

The three calls herein used self.view which is not defined since
GsLogActionCommand is a WindowCommand. So basically all commands raised
and did nothing.

I think doing nothing is the correct approach here since after closing the
panel, on_activated callbacks run for all important views anyway.

To actually refresh other visible views beside the active one would be a
useful feature though.

The three calls herein used `self.view` which is not defined since
`GsLogActionCommand` is a `WindowCommand`. So basically all commands raised
and did nothing.

I think doing nothing is the correct approach here since after closing the
panel, `on_activated` callbacks run for all important views anyway.

To actually refresh _other_ visible views beside the active one would be a
useful feature though.
@randy3k randy3k merged commit f4c97be into timbrel:dev Jan 7, 2019
@randy3k
Copy link
Collaborator

randy3k commented Jan 7, 2019

Thanks. Good catch

@kaste kaste deleted the do-not-refresh-ui-after-log-action branch January 7, 2019 20:16
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