comparison main/MainWindow.cpp @ 62:75ce271d0edb

* (Temporarily?) restore layer hierarchy window
author Chris Cannam
date Tue, 17 Oct 2006 18:53:08 +0000
parents 06b3c3f437e6
children dc7a73ef69af
comparison
equal deleted inserted replaced
61:963e3187d920 62:75ce271d0edb
566 action->setCheckable(true); 566 action->setCheckable(true);
567 action->setChecked(m_viewManager->getZoomWheelsEnabled()); 567 action->setChecked(m_viewManager->getZoomWheelsEnabled());
568 menu->addAction(action); 568 menu->addAction(action);
569 569
570 /*!!! This one doesn't work properly yet 570 /*!!! This one doesn't work properly yet
571 571 */
572 menu->addSeparator(); 572 menu->addSeparator();
573 573
574 action = new QAction(tr("Show &Layer Hierarchy"), this); 574 action = new QAction(tr("Show &Layer Hierarchy"), this);
575 action->setShortcut(tr("Alt+L")); 575 action->setShortcut(tr("Alt+L"));
576 connect(action, SIGNAL(triggered()), this, SLOT(showLayerTree())); 576 connect(action, SIGNAL(triggered()), this, SLOT(showLayerTree()));
577 menu->addAction(action); 577 menu->addAction(action);
578 */ 578 /* */
579 } 579 }
580 580
581 if (m_paneMenu) { 581 if (m_paneMenu) {
582 m_paneActions.clear(); 582 m_paneActions.clear();
583 m_paneMenu->clear(); 583 m_paneMenu->clear();