update marker when restrict frequencies are changed

This commit is contained in:
Jan Käberich 2022-10-21 19:51:38 +02:00
parent cda27314b7
commit 796a8cb3f9
4 changed files with 6 additions and 1004 deletions

View File

@ -1532,6 +1532,7 @@ QWidget *Marker::getRestrictEditor()
max->setValueQuiet(maxPosition); max->setValueQuiet(maxPosition);
} }
constrainPosition(); constrainPosition();
update();
}); });
connect(max, &SIUnitEdit::valueChanged, this, [=](){ connect(max, &SIUnitEdit::valueChanged, this, [=](){
maxPosition = max->value(); maxPosition = max->value();
@ -1540,6 +1541,7 @@ QWidget *Marker::getRestrictEditor()
min->setValueQuiet(minPosition); min->setValueQuiet(minPosition);
} }
constrainPosition(); constrainPosition();
update();
}); });
w->setLayout(layout); w->setLayout(layout);

File diff suppressed because it is too large Load Diff

View File

@ -357,6 +357,7 @@ FORMS += \
../LibreVNA-GUI/Traces/Math/timegatedialog.ui \ ../LibreVNA-GUI/Traces/Math/timegatedialog.ui \
../LibreVNA-GUI/Traces/Math/timegateexplanationwidget.ui \ ../LibreVNA-GUI/Traces/Math/timegateexplanationwidget.ui \
../LibreVNA-GUI/Traces/XYPlotConstantLineEditDialog.ui \ ../LibreVNA-GUI/Traces/XYPlotConstantLineEditDialog.ui \
../LibreVNA-GUI/Traces/eyediagrameditdialog.ui \
../LibreVNA-GUI/Traces/polarchartdialog.ui \ ../LibreVNA-GUI/Traces/polarchartdialog.ui \
../LibreVNA-GUI/Traces/smithchartdialog.ui \ ../LibreVNA-GUI/Traces/smithchartdialog.ui \
../LibreVNA-GUI/Traces/tracecsvexport.ui \ ../LibreVNA-GUI/Traces/tracecsvexport.ui \

View File

@ -1,10 +1,10 @@
@echo off @echo off
SetLocal EnableDelayedExpansion SetLocal EnableDelayedExpansion
(set PATH=C:\Qt\5.15.1\mingw81_64\bin;!PATH!) (set PATH=C:\Qt\5.15.2\mingw81_64\bin;!PATH!)
if defined QT_PLUGIN_PATH ( if defined QT_PLUGIN_PATH (
set QT_PLUGIN_PATH=C:\Qt\5.15.1\mingw81_64\plugins;!QT_PLUGIN_PATH! set QT_PLUGIN_PATH=C:\Qt\5.15.2\mingw81_64\plugins;!QT_PLUGIN_PATH!
) else ( ) else (
set QT_PLUGIN_PATH=C:\Qt\5.15.1\mingw81_64\plugins set QT_PLUGIN_PATH=C:\Qt\5.15.2\mingw81_64\plugins
) )
%* %*
EndLocal EndLocal