mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-06 00:10:59 +00:00
InsetListings: fix a few checkbox logics
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@18310 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
fcc2297ba7
commit
6e81ea9be8
@ -337,13 +337,13 @@ void QListings::update_contents()
|
||||
*it = "";
|
||||
}
|
||||
} else if (prefixIs(*it, "breaklines=")) {
|
||||
dialog_->breaklinesCB->setChecked(prefixIs(*it, "true"));
|
||||
dialog_->breaklinesCB->setChecked(contains(*it, "true"));
|
||||
*it = "";
|
||||
} else if (prefixIs(*it, "showspaces=")) {
|
||||
dialog_->spaceCB->setChecked(prefixIs(*it, "true"));
|
||||
dialog_->spaceCB->setChecked(contains(*it, "true"));
|
||||
*it = "";
|
||||
} else if (prefixIs(*it, "extendedchars=")) {
|
||||
dialog_->extendedcharsCB->setChecked(prefixIs(*it, "true"));
|
||||
dialog_->extendedcharsCB->setChecked(contains(*it, "true"));
|
||||
*it = "";
|
||||
} else if (prefixIs(*it, "caption=")) {
|
||||
string cap = it->substr(8);
|
||||
|
Loading…
Reference in New Issue
Block a user