Commit fd4cef69 authored by Thomas Friedrichsmeier's avatar Thomas Friedrichsmeier
Browse files

Make sure, suffix portion of temporary preview input files remains constant (for easier filtering)

parent 2e534586
......@@ -891,7 +891,7 @@ void RKCommandEditorWindow::doRenderPreview () {
// If the file is already saved, save the preview input as a temp file in the same folder.
// esp. .Rmd files might try to include other files by relative path.
QString tempfiletemplate = m_doc->url ().toLocalFile ();
tempfiletemplate.append (".preview_XXXXXX.R");
tempfiletemplate.append ("_XXXXXX.rkward_preview.R");
if (mode == RMarkdownPreview) tempfiletemplate.append ("md");
preview_input_file = new QTemporaryFile (tempfiletemplate);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment