diff --git a/src/video_display.cpp b/src/video_display.cpp index 7764a2bd9..3579c194e 100644 --- a/src/video_display.cpp +++ b/src/video_display.cpp @@ -416,7 +416,6 @@ void VideoDisplay::SetTool(std::unique_ptr 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