mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-22 13:18:28 +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();
|
filesLW->clear();
|
||||||
EmbeddedFiles const & files = controller_.embeddedFiles();
|
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 = files.begin();
|
||||||
EmbeddedFiles::EmbeddedFileList::const_iterator it_end = files.end();
|
EmbeddedFiles::EmbeddedFileList::const_iterator it_end = files.end();
|
||||||
for (; it != it_end; ++it) {
|
for (; it != it_end; ++it) {
|
||||||
|
Loading…
Reference in New Issue
Block a user