mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-21 11:20:04 +02:00
Fix gui browse (#662)
Choosing file path in dialog should already set file path when returning from dialog, must not wait to press enter
This commit is contained in:
parent
4259d49b63
commit
878eab9fc3
@ -890,6 +890,11 @@ This document describes the differences between v7.0.0.rc1 and v6.1.2
|
||||
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.
|
||||
|
||||
|
@ -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();
|
||||
|
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user