Don't call Realize() before setting the toolbar

This commit is contained in:
Thomas Goyne 2019-09-28 14:23:17 -07:00
parent 6ca879938d
commit 5da48d0f30
1 changed files with 0 additions and 1 deletions

View File

@ -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