mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[statistics] MultipleDataViewController: always select the right subview
(the controlled view might have been destroyed -returing to home for instance)
This commit is contained in:
committed by
LeaNumworks
parent
bfc24f86c9
commit
592ae15499
@@ -30,8 +30,8 @@ void MultipleDataViewController::viewWillAppear() {
|
||||
multipleDataView()->setDisplayBanner(true);
|
||||
if (*m_selectedSeriesIndex < 0) {
|
||||
*m_selectedSeriesIndex = multipleDataView()->seriesOfSubviewAtIndex(0);
|
||||
multipleDataView()->selectDataView(*m_selectedSeriesIndex);
|
||||
}
|
||||
multipleDataView()->selectDataView(*m_selectedSeriesIndex);
|
||||
reloadBannerView();
|
||||
multipleDataView()->reload();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user