Skip to content

Commit

Permalink
Added CAD toolbar to main menu View
Browse files Browse the repository at this point in the history
  • Loading branch information
dxli committed Dec 10, 2014
1 parent b366a00 commit b49b6d8
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions librecad/src/main/qc_applicationwindow.cpp
Expand Up @@ -752,6 +752,7 @@ void QC_ApplicationWindow::initActions(void)
actionFactory.addGUI(subMenu, this, blockWidget->parentWidget(), RS2::ActionViewBlockList);
actionFactory.addGUI(subMenu, this, libraryWidget->parentWidget(), RS2::ActionViewLibrary);
actionFactory.addGUI(subMenu, this, commandWidget->parentWidget(), RS2::ActionViewCommandLine);
actionFactory.addGUI(subMenu, this, cadToolBar->parentWidget(), RS2::ActionViewCadToolbar);

subMenu->addSeparator();

Expand Down Expand Up @@ -1261,8 +1262,8 @@ void QC_ApplicationWindow::initToolBar() {

connect(cadToolBar, SIGNAL(signalBack()),
this, SLOT(slotBack()));
connect(this, SIGNAL(windowsChanged(bool)),
cadToolBar, SLOT(setEnabled(bool)));
// connect(this, SIGNAL(windowsChanged(bool)),
// cadToolBar, SLOT(setEnabled(bool)));

//QG_CadToolBarMain* cadToolBarMain =
//new QG_CadToolBarMain(cadToolBar);
Expand Down

0 comments on commit b49b6d8

Please sign in to comment.