PixelPaint: Empty Tool menu

Fix #4038 by not deferring the creation of the tools. The original
change that introduced this, 7973f76790,
mentions this was needed to avoid having the menu work on the wrong
window, but I don't see that issue with this change so that may not be
needed anymore.
This commit is contained in:
Tim Waterhouse 2021-04-04 15:50:34 -07:00 committed by Andreas Kling
commit 3feaebfc2d
Notes: sideshowbarker 2024-07-18 20:46:28 +09:00

View file

@ -105,9 +105,7 @@ ToolboxWidget::ToolboxWidget()
m_action_group.set_exclusive(true);
m_action_group.set_unchecking_allowed(false);
deferred_invoke([this](auto&) {
setup_tools();
});
}
ToolboxWidget::~ToolboxWidget()