mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-25 10:58:52 +00:00
Open ExternalInset dialog on first tab for new insets
Fixes: #11081
(cherry picked from commit 126e0c3dac
)
This commit is contained in:
parent
d549330760
commit
bcd1814746
@ -493,6 +493,9 @@ static void getCrop(external::ClipData & data,
|
|||||||
|
|
||||||
void GuiExternal::updateContents()
|
void GuiExternal::updateContents()
|
||||||
{
|
{
|
||||||
|
if (params_.filename.empty())
|
||||||
|
tab->setCurrentIndex(0);
|
||||||
|
|
||||||
string const name =
|
string const name =
|
||||||
params_.filename.outputFileName(fromqstr(bufferFilePath()));
|
params_.filename.outputFileName(fromqstr(bufferFilePath()));
|
||||||
fileED->setText(toqstr(name));
|
fileED->setText(toqstr(name));
|
||||||
|
@ -127,6 +127,9 @@ What's new
|
|||||||
- Correctly set default bibliography style in the Document Settings
|
- Correctly set default bibliography style in the Document Settings
|
||||||
dialog (bug 11088).
|
dialog (bug 11088).
|
||||||
|
|
||||||
|
- Assure that the External Inset dialog is opened at first tab for
|
||||||
|
new insets (bug 11081).
|
||||||
|
|
||||||
|
|
||||||
* INTERNALS
|
* INTERNALS
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user