Skip to content

Commit

Permalink
Refs #6315. Fixing connections.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed Jan 2, 2013
1 parent ceab00c commit e7ca17d
Showing 1 changed file with 5 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -353,25 +353,21 @@ void MdViewerWidget::setParaViewComponentsForView()
QObject::connect(activeObjects, SIGNAL(viewChanged(pqView*)),
this->ui.propertiesPanel, SLOT(setView(pqView*)));

/*
QObject::connect(this->ui.proxyTabWidget->getObjectInspector(),
SIGNAL(postaccept()),
QObject::connect(this->ui.propertiesPanel,
SIGNAL(applied()),
this, SLOT(checkForUpdates()));
QObject::connect(this->currentView, SIGNAL(triggerAccept()),
this->ui.proxyTabWidget->getObjectInspector(),
SLOT(accept()));

if (this->currentView->inherits("MultiSliceView"))
{
QObject::connect(this->ui.pipelineBrowser,
SIGNAL(clicked(const QModelIndex &)),
static_cast<MultiSliceView *>(this->currentView),
SLOT(selectIndicator()));
QObject::connect(this->ui.proxyTabWidget->getObjectInspector(),
SIGNAL(accepted()),
QObject::connect(this->ui.propertiesPanel,
SIGNAL(applied()),
static_cast<MultiSliceView *>(this->currentView),
SLOT(updateSelectedIndicator()));
}
*/
QObject::connect(this->currentView, SIGNAL(setViewsStatus(bool)),
this->ui.modeControlWidget, SLOT(enableViewButtons(bool)));
QObject::connect(this->currentView,
Expand Down

0 comments on commit e7ca17d

Please sign in to comment.