Skip to content
Snippets Groups Projects
Commit 2bf5bf4f authored by Albert Gräf's avatar Albert Gräf
Browse files

Improve the handling of various file types in pdgui.doc_open.

Previously we threw anything we didn't recognize at the engine to try
and open it as a patch, which wasn't a good idea. Now we only pass .pd
files to the engine, and anything else we don't recognize we leave up to
Shell.openItem(), which should hopefully know how to deal with it.

TODO: In the future we might want to use file(1) magic patterns to
make a better guess at whether a given file is in fact a Pd patch.
parent 6b087726
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment