gotthard2: gain plot fix with clones

This commit is contained in:
2020-03-04 14:39:44 +01:00
parent 6e4a3353a3
commit 4e2f685b76
6 changed files with 16 additions and 12 deletions

View File

@ -561,14 +561,9 @@ void qDrawPlot::ClonePlot() {
}
}
qCloneWidget* q = new qCloneWidget(this, cloneplot1D, cloneplot2D, clonegainplot1D,
new qCloneWidget(this, cloneplot1D, cloneplot2D, clonegainplot1D,
clonegainplot2D, boxPlot->title(), fileSavePath, fileSaveName, currentAcqIndex,
displayStatistics, lblMinDisp->text(), lblMaxDisp->text(), lblSumDisp->text());
q->show();
if (clonegainplot1D != nullptr) {
clonegainplot1D->setFixedWidth(cloneplot1D->width());
//clonegainplot1D->setFixedHeight(cloneplot1D->height());// / qDefs::DATA_GAIN_PLOT_RATIO - 1);
}
}
void qDrawPlot::SavePlot() {