mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-18 21:30:38 +01:00
[apps/statistics] In histogram page, unable to change selection when the
header button is selected Change-Id: Ifa75a747648325adac84264a148390ebf5a2c497
This commit is contained in:
@@ -55,7 +55,7 @@ bool HistogramController::handleEvent(Ion::Events::Event event) {
|
||||
headerViewController()->setSelectedButton(0);
|
||||
return true;
|
||||
}
|
||||
if (event == Ion::Events::Left || event == Ion::Events::Right) {
|
||||
if (m_view.selectedBins() && (event == Ion::Events::Left || event == Ion::Events::Right)) {
|
||||
int direction = event == Ion::Events::Left ? -1 : 1;
|
||||
m_view.reload(m_data->selectedBar());
|
||||
if (m_data->selectNextBarToward(direction)) {
|
||||
|
||||
Reference in New Issue
Block a user