--- a/src/qtgui/rclm_view.cpp
+++ b/src/qtgui/rclm_view.cpp
@@ -291,18 +291,10 @@
LOGDEB(("RclMain::startNV: groksipath %d wantsf %d wantsparentf %d\n",
groksipath, wantsfile, wantsparentfile));
- bool notinfs = false;
- {
- string backend;
- doc.getmeta(Rcl::Doc::keybcknd, &backend);
- if (!backend.empty() && backend.compare("FS"))
- notinfs = true;
- }
-
// If the command wants a file but this is not a file url, or
// there is an ipath that it won't understand, we need a temp file:
theconfig->setKeyDir(path_getfather(fn));
- if (notinfs ||
+ if (!doc.isFsFile() ||
((wantsfile || wantsparentfile) && fn.empty()) ||
(!groksipath && !doc.ipath.empty()) ) {
TempFile temp;