]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/qt4/GuiExternal.cpp
Open ExternalInset dialog on first tab for new insets
[lyx.git] / src / frontends / qt4 / GuiExternal.cpp
index f721bd28b64cf183e88875cacd8110d078953bcb..87005fe9d2523af3a9261385f76e3b3fd934e138 100644 (file)
@@ -493,6 +493,9 @@ static void getCrop(external::ClipData & data,
 
 void GuiExternal::updateContents()
 {
+       if (params_.filename.empty())
+               tab->setCurrentIndex(0);
+
        string const name =
                params_.filename.outputFileName(fromqstr(bufferFilePath()));
        fileED->setText(toqstr(name));