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

Restore quit shortcut #6526

Merged
merged 1 commit into from Dec 11, 2023
Merged

Restore quit shortcut #6526

merged 1 commit into from Dec 11, 2023

Conversation

Czaki
Copy link
Collaborator

@Czaki Czaki commented Dec 11, 2023

Description

Currently, on non-macOS systems there is no shortcut to close the application, only to close the window. It looks like it was missed during the change to use the app model.

The current state:

obraz

This PR adds shortcuts for closing app.

@github-actions github-actions bot added the qt Relates to qt label Dec 11, 2023
@Czaki Czaki added this to the 0.5.0 milestone Dec 11, 2023
@Czaki Czaki added the bugfix PR with bugfix label Dec 11, 2023
@Czaki Czaki changed the title Restore Quit shortcut Restore quit shortcut Dec 11, 2023
@psobolewskiPhD psobolewskiPhD added the ready to merge Last chance for comments! Will be merged in ~24h label Dec 11, 2023
Copy link

codecov bot commented Dec 11, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7810736) 92.26% compared to head (41ed848) 92.21%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6526      +/-   ##
==========================================
- Coverage   92.26%   92.21%   -0.06%     
==========================================
  Files         601      601              
  Lines       53427    53427              
==========================================
- Hits        49294    49267      -27     
- Misses       4133     4160      +27     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@jni jni merged commit 3b52a10 into napari:main Dec 11, 2023
39 checks passed
@jni jni deleted the fix_close_shortcut branch December 11, 2023 22:51
@jni jni removed the ready to merge Last chance for comments! Will be merged in ~24h label Dec 11, 2023
kne42 added a commit to kne42/napari that referenced this pull request Dec 20, 2023
* main: (80 commits)
  Check in LabelColormap that fewer than 2**16 colors are requested (napari#6540)
  Fix label color shuffling by also updating colormap size (napari#6460)
  Add `_block_refresh()` to layers (napari#6525)
  MNT: Use `partial` in samples menu to avoid leaking  (napari#6538)
  Update performance and reduce memory usage for big Labels layer in direct color mode (napari#6439)
  Reset single step and decimals on reset range slider in popup (napari#6523)
  Add copy operator to fix memory benchmarks (napari#6530)
  Restore quit shortcut (napari#6526)
  Fix problem with invalidate cache  (napari#6520)
  [pre-commit.ci] pre-commit autoupdate (napari#6505)
  Pass key event from Main window to our internal mechanism (napari#6419)
  Typing: Fully type 5 more files (napari#6361)
  Do not use native dialog for reset shortcuts (napari#6493)
  Use views rather than CPU-based hashing for 8- and 16-bit Labels data (napari#6467)
  Add import lint back to CI (napari#6506)
  Type napari.layers.image helper sub-modules (napari#6499)
  Bugfix: ensure gamma and opacity are floats (napari#6498)
  FIX: Remove `None` default from `_remove_dock_widget` (napari#6481)
  Add testing_extra and optional dependencies when creating constraints (napari#6487)
  Run test suite with optional dependencies and fix tests when `triangle` is installed (napari#6488)
  ...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix PR with bugfix qt Relates to qt
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants