mirror of
https://gitlab.com/pholy/OSCAR-code.git
synced 2025-04-17 19:20:46 +00:00
Fix for gold selection bars being left in overview report
This commit is contained in:
parent
10dfd94aa7
commit
28049d5f2d
@ -24,6 +24,7 @@ class SummaryChart:public Layer
|
|||||||
virtual void SetDay(Day * day=NULL);
|
virtual void SetDay(Day * day=NULL);
|
||||||
virtual bool isEmpty() { return m_empty; }
|
virtual bool isEmpty() { return m_empty; }
|
||||||
void addSlice(ChannelID code, QColor color, SummaryType type) { m_codes.push_back(code); m_colors.push_back(color); m_type.push_back(type); }
|
void addSlice(ChannelID code, QColor color, SummaryType type) { m_codes.push_back(code); m_colors.push_back(color); m_type.push_back(type); }
|
||||||
|
void deselect() { hl_day=-1; }
|
||||||
protected:
|
protected:
|
||||||
Qt::Orientation m_orientation;
|
Qt::Orientation m_orientation;
|
||||||
|
|
||||||
|
@ -174,6 +174,11 @@ void Overview::on_printButton_clicked()
|
|||||||
if (report) {
|
if (report) {
|
||||||
report->setMinimumSize(ui->graphArea->width(),ui->graphArea->height());
|
report->setMinimumSize(ui->graphArea->width(),ui->graphArea->height());
|
||||||
report->setMaximumSize(ui->graphArea->width(),ui->graphArea->height());
|
report->setMaximumSize(ui->graphArea->width(),ui->graphArea->height());
|
||||||
|
bc->deselect();
|
||||||
|
uc->deselect();
|
||||||
|
pr->deselect();
|
||||||
|
lk->deselect();
|
||||||
|
npb->deselect();
|
||||||
|
|
||||||
GraphView->hide();
|
GraphView->hide();
|
||||||
report->show();
|
report->show();
|
||||||
|
Loading…
Reference in New Issue
Block a user