Skip to content
Snippets Groups Projects
Commit ab1ec195 authored by Michael Reuter's avatar Michael Reuter
Browse files

Refs #7353. Unchecking button if checked on shutdown.

parent 2f373b62
No related branches found
No related tags found
No related merge requests found
...@@ -580,6 +580,10 @@ bool MdViewerWidget::eventFilter(QObject *obj, QEvent *ev) ...@@ -580,6 +580,10 @@ bool MdViewerWidget::eventFilter(QObject *obj, QEvent *ev)
if (this->pluginMode && QEvent::Hide == ev->type() && if (this->pluginMode && QEvent::Hide == ev->type() &&
!ev->spontaneous()) !ev->spontaneous())
{ {
if (this->ui.parallelProjButton->isChecked())
{
this->ui.parallelProjButton->toggle();
}
pqObjectBuilder* builder = pqApplicationCore::instance()->getObjectBuilder(); pqObjectBuilder* builder = pqApplicationCore::instance()->getObjectBuilder();
builder->destroySources(); builder->destroySources();
this->ui.modeControlWidget->setToStandardView(); this->ui.modeControlWidget->setToStandardView();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment