Open flying-sheep opened 4 years ago
I created a readable plain text file, selected it as template, but still the else branch is hit here:
https://github.com/fhackenberger/ktikz/blob/207af3ea668eb8c4cafe46c29a3dfd0363cda679/common/tikzpreviewgenerator.cpp#L459-L468
If I output the mime list, I get just ("application/octet-stream"), while I also get
("application/octet-stream")
$ file --mime-type Dev/TeX/ktikz-context.pgs Dev/TeX/ktikz-context.pgs: text/plain
I assume if the file itself has the text/plain mime already, its parents only contain application/octet-stream.
text/plain
application/octet-stream
I created a readable plain text file, selected it as template, but still the else branch is hit here:
https://github.com/fhackenberger/ktikz/blob/207af3ea668eb8c4cafe46c29a3dfd0363cda679/common/tikzpreviewgenerator.cpp#L459-L468
If I output the mime list, I get just
("application/octet-stream")
, while I also getI assume if the file itself has the
text/plain
mime already, its parents only containapplication/octet-stream
.