Skip to content

Commit 8965447

Browse files
committed
Added comment for first spectrums csv file import
1 parent 7f0846e commit 8965447

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/graph_spectrum_plot.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1800,7 +1800,7 @@ GraphSpectrumPlot.importCurvesFromCSV = function(files) {
18001800
break;
18011801
case SPECTRUM_TYPE.POWER_SPECTRAL_DENSITY:
18021802
if (this._importedPSD.curvesCount() === 0) {
1803-
this.addCurrentSpectrumIntoImport();
1803+
this.addCurrentSpectrumIntoImport(); // Add current main spectrum to import for the first imported file to have same behavior like first Ctrl+Mouse click selection.
18041804
}
18051805
this._importedPSD.importCurvesFromCSV(files);
18061806
break;

0 commit comments

Comments
 (0)