diff --git a/RELEASE.txt b/RELEASE.txt index 2e537b73d..8381d2d85 100644 --- a/RELEASE.txt +++ b/RELEASE.txt @@ -889,6 +889,11 @@ This document describes the differences between v7.0.0.rc1 and v6.1.2 * [Mythen3][Gotthard2] Crashes Additional locking Added + + * File path set in detector after choosing a directory in dialog (without + pressing enter). Before, it was only set in the display box, but lost + when switching tabs. + * X, Y, Z axis limits Did not reflect on the current plot. Fixed. diff --git a/slsDetectorGui/include/qDrawPlot.h b/slsDetectorGui/include/qDrawPlot.h index fc8a3d951..3dd42244e 100644 --- a/slsDetectorGui/include/qDrawPlot.h +++ b/slsDetectorGui/include/qDrawPlot.h @@ -68,7 +68,6 @@ class qDrawPlot : public QWidget, private Ui::PlotObject { void Zoom1DGainPlot(const QRectF &rect); void Zoom2DGainPlot(const QRectF &rect); void SetSaveFileName(QString val); - // void UpdatePlot(); signals: void AcquireFinishedSignal(); diff --git a/slsDetectorGui/src/qTabDataOutput.cpp b/slsDetectorGui/src/qTabDataOutput.cpp index cdedf42e4..99b5789cd 100644 --- a/slsDetectorGui/src/qTabDataOutput.cpp +++ b/slsDetectorGui/src/qTabDataOutput.cpp @@ -182,8 +182,10 @@ void qTabDataOutput::BrowseOutputDir() { LOG(logDEBUG) << "Browsing output directory"; QString directory = QFileDialog::getExistingDirectory( this, tr("Choose Output Directory "), dispOutputDir->text()); - if (!directory.isEmpty()) + if (!directory.isEmpty()) { dispOutputDir->setText(directory); + ForceSetOutputDir(); + } } void qTabDataOutput::SetOutputDir(bool force) {