Stop signal processing during resetPerspective()

.. fixes undesirable behaviour with click thru on user charts

Fixes #4325
This commit is contained in:
Mark Liversedge
2023-01-28 17:44:51 +00:00
parent 64386bc1ba
commit 402edf51fc

View File

@@ -1462,6 +1462,7 @@ MainWindow::resetPerspective(int view, bool force)
}
// set the perspective
pactive=true;
current->setPerspectives(perspectiveSelector);
perspectiveSelector->setCurrentIndex(current->currentPerspective());
pactive=false;