]> git.lyx.org Git - features.git/blobdiff - src/frontends/controllers/ControlEmbeddedFiles.cpp
Embedding: add a check box to InsetGraphic and show/change embedding status
[features.git] / src / frontends / controllers / ControlEmbeddedFiles.cpp
index ac61878bdbc09e5d075fdbeed5b7bea067709907..fddf866b4307e2d37a725744b24ec3613d77dcb5 100644 (file)
@@ -111,6 +111,9 @@ void ControlEmbeddedFiles::setEmbed(EmbeddedFile & item, bool embed, bool update
                else
                        item.extract(&buffer());
                item.updateInsets(&buffer());
+               // FIXME: unless we record the type of file item, we will
+               // need to update all possible dialogs (bibtex etc).
+               updateDialog("graphics");
        }
        if (embed)
                dispatchMessage("Embed file " + item.outputFilename(buffer().filePath()));