1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:37:35 +00:00

Ladybird+Browser: Update zoom text on menu after clicking zoom button

This commit is contained in:
Karol Kosek 2023-08-04 13:37:52 +02:00 committed by Andreas Kling
parent cc9885c0c6
commit 49df2e1e3a
6 changed files with 19 additions and 4 deletions

View file

@ -94,6 +94,7 @@ Tab::Tab(BrowserWindow* window, StringView webdriver_content_ipc_path, WebView::
QObject::connect(m_reset_zoom_button, &QAbstractButton::clicked, [this] {
view().reset_zoom();
update_reset_zoom_button();
m_window->update_zoom_menu();
});
view().on_activate_tab = [this] {