summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-office/lyx/files/2.3.patches')
-rw-r--r--app-office/lyx/files/2.3.patches13
1 files changed, 13 insertions, 0 deletions
diff --git a/app-office/lyx/files/2.3.patches b/app-office/lyx/files/2.3.patches
index ac77e07..358fc0f 100644
--- a/app-office/lyx/files/2.3.patches
+++ b/app-office/lyx/files/2.3.patches
@@ -147,3 +147,16 @@ index 323e654a41..fc339e44d2 100644
#if QT_VERSION >= 0x050000
QCoreApplication::setAttribute(Qt::AA_UseHighDpiPixmaps);
#endif
+diff --git a/src/insets/ExternalSupport.cpp b/src/insets/ExternalSupport.cpp
+index 3d7936abc7..07bed1d88e 100644
+--- a/src/insets/ExternalSupport.cpp
++++ b/src/insets/ExternalSupport.cpp
+@@ -51,7 +51,7 @@ Template const * getTemplatePtr(InsetExternalParams const & params)
+
+ void editExternal(InsetExternalParams const & params, Buffer const & buffer)
+ {
+- theFormats().edit(buffer, params.filename,
++ theFormats().view(buffer, params.filename,
+ theFormats().getFormatFromFile(params.filename));
+ }
+