mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-11 11:08:41 +00:00
InsetListings: fix bug 3627
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18374 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
a90f967d6f
commit
aa9f87addb
@ -292,14 +292,14 @@ void QListings::update_contents()
|
||||
*it = "";
|
||||
}
|
||||
}
|
||||
} else if (prefixIs(*it, "floatplacement=")) {
|
||||
dialog_->floatCB->setChecked(true);
|
||||
dialog_->placementLE->setText(toqstr(it->substr(15)));
|
||||
*it = "";
|
||||
} else if (prefixIs(*it, "float")) {
|
||||
dialog_->floatCB->setChecked(true);
|
||||
if (prefixIs(*it, "float="))
|
||||
dialog_->placementLE->setText(toqstr(it->substr(6)));
|
||||
else
|
||||
dialog_->floatCB->setChecked(true);
|
||||
*it = "";
|
||||
} else if (prefixIs(*it, "floatplacement=")) {
|
||||
dialog_->placementLE->setText(toqstr(it->substr(15)));
|
||||
*it = "";
|
||||
} else if (prefixIs(*it, "numbers=")) {
|
||||
dialog_->numberSideCO->setCurrentIndex(
|
||||
|
Loading…
Reference in New Issue
Block a user