Skip to content

Commit

Permalink
Add SPICE extensions for save dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
ra3xdh committed Oct 26, 2023
1 parent d80cb50 commit 3984afb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion qucs/qucs.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1729,7 +1729,7 @@ bool QucsApp::saveAs()
}

// list of known file extensions
QString ext = "vhdl;vhd;v;va;sch;dpl;m;oct;net;qnet;txt";
QString ext = "vhdl;vhd;v;va;sch;dpl;m;oct;net;qnet;ckt;cir;sp;txt";
QStringList extlist = ext.split (';');

if(isTextDocument (w))
Expand All @@ -1738,6 +1738,7 @@ bool QucsApp::saveAs()
tr("Verilog-A Sources")+" (*.va);;"+
tr("Octave Scripts")+" (*.m *.oct);;"+
tr("Qucs Netlist")+" (*.net *.qnet);;"+
tr("SPICE Netlist")+" (*.ckt *.cir *.sp);;"+
tr("Plain Text")+" (*.txt);;"+
tr("Any File")+" (*)";
else
Expand Down

0 comments on commit 3984afb

Please sign in to comment.