mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:37:46 +00:00
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:
parent
ade97d4094
commit
3feaebfc2d
1 changed files with 1 additions and 3 deletions
|
@ -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();
|
||||
});
|
||||
setup_tools();
|
||||
}
|
||||
|
||||
ToolboxWidget::~ToolboxWidget()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue