mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +00:00
Inspector+UI: Close inspector with shortcuts
This brings keyboard shortcuts for the inspector up with common convention in FF and Chrome: Ctrl+Shift+C now also opens the inspector, and F12, Ctrl+W, and Ctrl+Shift+I now close the inspector when the inspector window is focused. Resolves #972
This commit is contained in:
parent
a24718cc49
commit
5cfed4524d
Notes:
github-actions[bot]
2025-01-03 10:48:11 +00:00
Author: https://github.com/tyzoid
Commit: 5cfed4524d
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2746
Reviewed-by: https://github.com/AtkinsSJ ✅
5 changed files with 31 additions and 3 deletions
|
@ -125,6 +125,8 @@ private:
|
|||
|
||||
void close_sub_widgets();
|
||||
|
||||
void recreate_inspector();
|
||||
|
||||
QBoxLayout* m_layout { nullptr };
|
||||
QToolBar* m_toolbar { nullptr };
|
||||
QToolButton* m_hamburger_button { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue