mirror of https://github.com/odrling/Aegisub
Don't call Realize() before setting the toolbar
This commit is contained in:
parent
6ca879938d
commit
5da48d0f30
|
@ -416,7 +416,6 @@ void VideoDisplay::SetTool(std::unique_ptr<VisualToolBase> new_tool) {
|
|||
toolBar->Show(false);
|
||||
toolBar->ClearTools();
|
||||
toolBar->AddSeparator();
|
||||
toolBar->Realize();
|
||||
tool->SetToolbar(toolBar);
|
||||
|
||||
// Update size as the new typesetting tool may have changed the subtoolbar size
|
||||
|
|
Loading…
Reference in New Issue