From a10fcb3e2ce0ed0a3df7f03cbfd546239100aec3 Mon Sep 17 00:00:00 2001 From: Ay1nDas Date: Thu, 9 Oct 2025 12:38:57 +0530 Subject: [PATCH] Fix control bar icon size isn't applied when opening a new window Add apply_ctrlbar_settings(); after creating all the icon bars. This ensures that when a new window is opened, all the control bar settings are reapplied. --- src/ui/widget/desktop-widget.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ui/widget/desktop-widget.cpp b/src/ui/widget/desktop-widget.cpp index bb7449508a..bd631ed7ec 100644 --- a/src/ui/widget/desktop-widget.cpp +++ b/src/ui/widget/desktop-widget.cpp @@ -179,6 +179,9 @@ SPDesktopWidget::SPDesktopWidget(InkscapeWindow *inkscape_window) command_toolbar = std::make_unique(); _top_toolbars->attach(*command_toolbar, 0, 0); + + // Applying the saved settings after all the toolbars have been created. + apply_ctrlbar_settings(); } void SPDesktopWidget::addDesktop(SPDesktop *desktop, int pos) -- GitLab