##// END OF EJS Templates
Bugfix for piechartcustomization
Jani Honkonen -
r657:f62932e0ed90
parent child
Show More
@@ -535,7 +535,7 public Q_SLOTS:
535 535
536 536 void addSlice()
537 537 {
538 *m_series << new CustomSlice(10.0, "Slice " + QString::number(m_series->count()));
538 *m_series << new CustomSlice(10.0, "Slice " + QString::number(m_series->count()+1));
539 539 }
540 540
541 541 void insertSlice()
@@ -545,7 +545,7 public Q_SLOTS:
545 545
546 546 int i = m_series->slices().indexOf(m_slice);
547 547
548 m_series->insert(i, new CustomSlice(10.0, "Slice " + QString::number(m_series->count())));
548 m_series->insert(i, new CustomSlice(10.0, "Slice " + QString::number(m_series->count()+1)));
549 549 }
550 550
551 551 void removeSlice()
General Comments 0
You need to be logged in to leave comments. Login now