mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-09-10 03:54:54 -06:00
*ScatterCtrl. Fixed problem in properties.
git-svn-id: svn://ultimatepp.org/upp/trunk@10944 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
8c60252e70
commit
b93b19fb33
1 changed files with 1 additions and 1 deletions
|
|
@ -1108,7 +1108,7 @@ void ProcessingTab::OnFFT()
|
|||
tabFreq.scatter.SetLabelX(tabFreq.opXAxis == 1 ? t_("Frequency [Hz]") : t_("Period [sec]"));
|
||||
tabFreq.scatter.SetLabelY(legend);
|
||||
tabFreq.scatter.ZoomToFit(true, true);
|
||||
if (fft[int(idMaxFFT)].x < (fft[fft.GetCount() - 1].x)/2)
|
||||
if (idMaxFFT > 0 && fft[int(idMaxFFT)].x < (fft[fft.GetCount() - 1].x)/2)
|
||||
tabFreq.scatter.SetRange(fft[int(idMaxFFT)].x*2, Null);
|
||||
|
||||
tabFreq.comments.SetText(errText);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue