mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 05:16:21 +00:00
Embedding: initialize enableCB checkbox correctly
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@20255 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
eb04266ab9
commit
4e7fa2bfef
@ -109,6 +109,7 @@ void GuiEmbeddedFilesDialog::updateView()
|
||||
{
|
||||
filesLW->clear();
|
||||
EmbeddedFiles const & files = controller_.embeddedFiles();
|
||||
enableCB->setCheckState(files.enabled() ? Qt::Checked : Qt::Unchecked);
|
||||
EmbeddedFiles::EmbeddedFileList::const_iterator it = files.begin();
|
||||
EmbeddedFiles::EmbeddedFileList::const_iterator it_end = files.end();
|
||||
for (; it != it_end; ++it) {
|
||||
|
Loading…
Reference in New Issue
Block a user