Skip to content

Commit

Permalink
Hide the Git menu item until the feature is fully implemented
Browse files Browse the repository at this point in the history
  • Loading branch information
adeas31 committed Dec 4, 2019
1 parent 54cc546 commit 9c5134d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions OMEdit/OMEditLIB/MainWindow.cpp
Expand Up @@ -3905,9 +3905,11 @@ void MainWindow::createMenus()
pGitMenu->addAction(mpCleanWorkingDirectoryAction);
pGitMenu->addSeparator();
pGitMenu->addAction(pTraceabilityMenu->menuAction());
pGitMenu->setEnabled(false);
// add Git menu to menu bar
menuBar()->addAction(pGitMenu->menuAction());
/*! @todo Fix the Git feature and then uncomment the line below to add it to the menu.
* For now just don't add it to the menu.
*/
//menuBar()->addAction(pGitMenu->menuAction());
// Tools menu
QMenu *pToolsMenu = new QMenu(menuBar());
pToolsMenu->setTitle(tr("&Tools"));
Expand Down

0 comments on commit 9c5134d

Please sign in to comment.