@@ -176,11 +176,11 @@ qt_chooser_widget_rep::set_type (const string& _type) {
176176 else if (_type == " image" ) {
177177 mainNameFilter= to_qstring (translate (" Image file" ));
178178 }
179- else if (_type == " select " ) {
180- mainNameFilter= to_qstring (translate (" Mogan files" ));
179+ else if (_type == " action_open " ) {
180+ mainNameFilter= to_qstring (translate (" STEM files" ));
181181 }
182- else if (_type == " tmu/tm " ) {
183- mainNameFilter= to_qstring (translate (" TMU files" ));
182+ else if (_type == " action_save_as " ) {
183+ mainNameFilter= to_qstring (translate (" STEM files" ));
184184 }
185185 else {
186186 if (DEBUG_STD)
@@ -203,7 +203,7 @@ qt_chooser_widget_rep::set_type (const string& _type) {
203203 nameFilters << to_qstring (translate (" Portable Document Format" ) *
204204 " (*.pdf)" );
205205 }
206- else if (_type == " select " ) {
206+ else if (_type == " action_open " ) {
207207 mainNameFilter+= " (*.tmu *.tm)" ;
208208 // " (*.scala *.sc *.sbt *.pants *.ltx *.sty *.cls *.tex *.bib *.rawbib *.jl
209209 // *.js *.java *.sld *.ss *.tmu *.txt *.py *.json *.html *.hh *.cpp *cc *hpp
@@ -227,7 +227,7 @@ qt_chooser_widget_rep::set_type (const string& _type) {
227227 nameFilters << to_qstring (translate (" Web files" ) *
228228 " (*.html *.xhtml *.htm)" );
229229 }
230- else if (_type == " tmu/tm " ) {
230+ else if (_type == " action_save_as " ) {
231231 mainNameFilter+= " (*.tmu)" ;
232232 nameFilters << mainNameFilter;
233233 nameFilters << to_qstring (translate (" TM files" ) * " (*.tm)" );
0 commit comments