diff --git a/src/ui/MainWindow.cc b/src/ui/MainWindow.cc index 1c030579b069969f989a797cb2b67d276f73e53d..be7081844e631eadda9c3d4520aa0cac5176479c 100644 --- a/src/ui/MainWindow.cc +++ b/src/ui/MainWindow.cc @@ -334,7 +334,7 @@ void MainWindow::_buildCommonWidgets(void) const char* pDockWidgetName = rgDockWidgetNames[i]; // Add to menu - QAction* action = new QAction(pDockWidgetName, NULL); + QAction* action = new QAction(tr(pDockWidgetName), NULL); action->setCheckable(true); action->setData(pDockWidgetName); connect(action, &QAction::triggered, this, &MainWindow::_showDockWidgetAction);