Commit 699bec83 authored by Giacomo Strangolino's avatar Giacomo Strangolino
Browse files

fixes issues #4

parent d55a4c96
......@@ -151,7 +151,8 @@ void I0MMTopoBarChart::enableLogScale(bool en) {
void I0MMTopoBarChart::setLambdas(const QVector<int> lidxs) {
m_update_bars(lidxs);
update(m_cur_data);
if(m_cur_data.size() > 0)
update(m_cur_data);
}
void I0MMTopoBarChart::m_onBarsModeChanged(int mode) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment