SPICE Command. Edit analysis tab. DC sweep. Nonexisting 2nd source enabled for 2nd sweep.
<!-- --------Before Creating a New Issue----------- * Limit report to a single issue. * Search the issue tracker to verify the issue has not already been reported. * Complete all instructions between `template comment markers <>. * Keep report contents limited to the necessary information required to fix the issue. * When creating an issue against the stable version of KiCad, make sure the latest available stable version is installed as issues may have already been resolved in later stable versions. --> # Description <!-- What is the current behavior and what is the expected behavior? --> <!-- If the issue is visual/graphical, please attach screenshots of the problem. --> <!-- Add the issue details below this line and before the "Steps to reproduce" heading. --> # Steps to reproduce <!-- If there are multiple steps to reproduce it or it is a visual issue, then providing a screen recording as an attachment to this report is recommended. --> <!-- If this issue is specific to a project, please attach the necessary files to this issue. --> <!-- Add the steps to reproduce using the numbers below --> <!-- Add new step numbers before the "KiCad Version" heading. --> 1. Create any circuit with only ONE source (for instance, a voltage source). 2. Go to Inspect/Simulator. 3. New Analysis Tab: Create a DC sweep on the unique source. For instance from 0 to 10, step 0.1. 4. Run the analysis (you may plot anything). 5. In Simulation/Edit Analysis Tab, you can see that the **checklist for Source 2 is enabled, when it should be disabled**. # KiCad Version 8.0.0 (downloaded on 2024/02/25). In the simulation, if you enter in "Simulation/Edit Analysis Tab" and the analysis was DC sweep, in the first window ("SPICE Command") the checklist of source 2 is enabled, although my analysis only had sweep in one source (because the circuit only had one source, in this case). I think that, in such case, the checklist of source 2 should be disabled (in fact, confirming without any change gives an error: "A DC source must be specified"). ``` Application: x64 on x64 Version: 8.0.0, release build Libraries: wxWidgets 3.2.4 FreeType 2.12.1 HarfBuzz 8.3.0 FontConfig 2.14.2 Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW wxWidgets: 3.2.4 (wchar_t,wx containers) Boost: 1.83.0 OCC: 7.7.1 Curl: 8.5.0-DEV ngspice: 42 Compiler: Visual C++ 1936 without C++ ABI Build settings: ```
issue