diff options
-rw-r--r-- | src/layout.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/layout.cpp b/src/layout.cpp index 739a2a3..c364886 100644 --- a/src/layout.cpp +++ b/src/layout.cpp @@ -1104,7 +1104,7 @@ class LayoutParser : public QXmlDefaultHandler } } // create new item and make it the new root - m_rootNav = new LayoutNavEntry(m_rootNav,kind,kind==LayoutNavEntry::MainPage?TRUE:isVisible,baseFile,title,intro); + m_rootNav = new LayoutNavEntry(m_rootNav,kind,isVisible,baseFile,title,intro); } void endNavEntry() |