##// END OF EJS Templates
Bugfix: check series count before changing domain
Michal Klocek -
r373:3915c3a44fee
parent child
Show More
@@ -228,6 +228,8 void ChartDataSet::setDomain(int index)
228 {
228 {
229 QList<QChartAxis*> domainList = m_domainMap.uniqueKeys();
229 QList<QChartAxis*> domainList = m_domainMap.uniqueKeys();
230
230
231 if(domainList.count()==0) return;
232
231 Domain domain;
233 Domain domain;
232
234
233 foreach (QChartAxis* axis , domainList) {
235 foreach (QChartAxis* axis , domainList) {
General Comments 0
You need to be logged in to leave comments. Login now