]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetExternal.cpp
* InsetCollapsable:
[lyx.git] / src / insets / InsetExternal.cpp
index 8f03080ddacca5b25c36686ac3bac7046306ac6c..2ca4511163fb54e422e1e7ff463dd77074c3a877 100644 (file)
@@ -577,7 +577,7 @@ graphics::Params get_grfx_params(InsetExternalParams const & eparams)
                BOOST_ASSERT(false);
        }
        if (gparams.display == graphics::DefaultDisplay)
-               gparams.display = lyxrc.display_graphics;
+               gparams.display = graphics::DisplayType(lyxrc.display_graphics);
        // Override the above if we're not using a gui
        if (!use_gui)
                gparams.display = graphics::NoDisplay;