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

Script editor doesn't refresh when in focus #1208

Closed
petebankhead opened this issue Jan 11, 2023 · 0 comments
Closed

Script editor doesn't refresh when in focus #1208

petebankhead opened this issue Jan 11, 2023 · 0 comments
Labels
Milestone

Comments

@petebankhead
Copy link
Member

Bug report

Describe the bug
The script editor should refresh its contents when in focus when File → Auto refresh files is selected.

The reason is that this makes it easier to edit a script outside QuPath (e.g. in IntelliJ).

Expected behavior
After editing a script file outside QuPath, bringing the script editor into focus should result in the script being refreshed if File → Auto refresh files is selected.

Desktop (please complete the following information):

  • OS: All
  • QuPath Version: v0.4.1 (and likely v0.4.0)

Additional context
This seems to be a regression introduced amidst the other script editor changes.

Switching to a different script is now needed to trigger the refresh.

@petebankhead petebankhead added this to the v0.4.2 milestone Jan 11, 2023
petebankhead added a commit to petebankhead/qupath that referenced this issue Jan 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant