Skip to content

Commit

Permalink
ktechlab: when opening files, make All Files show and work
Browse files Browse the repository at this point in the history
update the filename filter in to be in accordance with Qt's documentation
  • Loading branch information
zoltanp committed Jul 10, 2022
1 parent 680651e commit 46c30e1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/ktechlab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1152,12 +1152,12 @@ QList<QUrl> KTechlab::getFileURLs(bool allowMultiple)
{
QString filter;
filter = QString(
"*|%1\n"
"*.asm *.src *.inc|%2 (*.asm, *.src, *.inc)\n"
"*.hex|%3 (*.hex)\n"
"*.circuit|%4 (*.circuit)\n"
"*.flowcode|FlowCode (*.flowcode)\n"
"*.basic *.microbe|Microbe (*.microbe, *.basic)"
"*|%1 (*)\n"
";;*.asm *.src *.inc|%2 (*.asm, *.src, *.inc)\n"
";;*.hex|%3 (*.hex)\n"
";;*.circuit|%4 (*.circuit)\n"
";;*.flowcode|FlowCode (*.flowcode)\n"
";;*.basic *.microbe|Microbe (*.microbe, *.basic)"
/*"*.mechanics|Mechanics (*.mechanics)\n"*/)
.arg(i18n("All Files"))
.arg(i18n("Assembly Code"))
Expand Down

0 comments on commit 46c30e1

Please sign in to comment.