summaryrefslogtreecommitdiff
path: root/ui/windows/plot_window.py
diff options
context:
space:
mode:
authorChristian Kolset <ckolset@colostate.edu>2026-07-29 13:22:26 -0600
committerChristian Kolset <ckolset@colostate.edu>2026-07-29 13:22:26 -0600
commit2298f779fdf7d828c1a84ca933b4eee9e8103212 (patch)
treeaa442ccd22f2cc0bd59cd40cc78264913bcfe3e9 /ui/windows/plot_window.py
parent45ff7227fabb97273d4645601733f90f5f744eb1 (diff)
Offer to pip install missing plugin dependencies instead of just warning
Builds on the previous branch's dependency check: the missing-deps QMessageBox is now a Yes/No prompt. Yes runs a blocking `sys.executable -m pip install <reqs>` (subprocess.run, output captured), shows a result dialog, and on success proceeds straight to enabling the plugin — no need to click Enable a second time. Blocking is a deliberate simplification, not an oversight: this codebase has no worker-thread/progress-dialog pattern for slow operations anywhere else, so a threaded installer would be inconsistent with everything else here. pip install is a one-time, infrequent action, unlike e.g. a serial connect that runs constantly. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Diffstat (limited to 'ui/windows/plot_window.py')
0 files changed, 0 insertions, 0 deletions