Skip to content

Commit

Permalink
Refs #6315. Can now handle apply like old version.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Feb 15, 2013
1 parent 2afe50c commit fc1730c
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -342,7 +342,6 @@ ViewBase* MdViewerWidget::setMainViewWidget(QWidget *container,
void MdViewerWidget::setParaViewComponentsForView()
{
// Extra setup stuff to hook up view to other items
this->ui.propertiesPanel->setAutoApply(true);
this->ui.propertiesPanel->setView(this->currentView->getView());
this->ui.pipelineBrowser->setActiveView(this->currentView->getView());

Expand All @@ -354,6 +353,10 @@ void MdViewerWidget::setParaViewComponentsForView()
QObject::connect(activeObjects, SIGNAL(viewChanged(pqView*)),
this->ui.propertiesPanel, SLOT(setView(pqView*)));

QObject::connect(this->currentView,
SIGNAL(triggerAccept()),
this->ui.propertiesPanel,
SLOT(apply()));
QObject::connect(this->ui.propertiesPanel,
SIGNAL(applied()),
this, SLOT(checkForUpdates()));
Expand Down

0 comments on commit fc1730c

Please sign in to comment.