forked from mia/Aegisub
Don't call Realize() before setting the toolbar
This commit is contained in:
parent
6ca879938d
commit
5da48d0f30
1 changed files with 0 additions and 1 deletions
|
@ -416,7 +416,6 @@ void VideoDisplay::SetTool(std::unique_ptr<VisualToolBase> new_tool) {
|
||||||
toolBar->Show(false);
|
toolBar->Show(false);
|
||||||
toolBar->ClearTools();
|
toolBar->ClearTools();
|
||||||
toolBar->AddSeparator();
|
toolBar->AddSeparator();
|
||||||
toolBar->Realize();
|
|
||||||
tool->SetToolbar(toolBar);
|
tool->SetToolbar(toolBar);
|
||||||
|
|
||||||
// Update size as the new typesetting tool may have changed the subtoolbar size
|
// Update size as the new typesetting tool may have changed the subtoolbar size
|
||||||
|
|
Loading…
Reference in a new issue