-rw-r--r-- | noncore/apps/dagger/opentextdlg.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/noncore/apps/dagger/opentextdlg.cpp b/noncore/apps/dagger/opentextdlg.cpp index f7893a9..8c94a4b 100644 --- a/noncore/apps/dagger/opentextdlg.cpp +++ b/noncore/apps/dagger/opentextdlg.cpp | |||
@@ -61,6 +61,8 @@ OpenTextDlg::OpenTextDlg( QWidget *parent, sword::SWMgr *swordMgr, QPixmap *bibl | |||
61 | 61 | ||
62 | for ( it = swordMgr->Modules.begin(); it != swordMgr->Modules.end(); it++ ) | 62 | for ( it = swordMgr->Modules.begin(); it != swordMgr->Modules.end(); it++ ) |
63 | { | 63 | { |
64 | if ( it->second ) | ||
65 | { | ||
64 | type = it->second->Type(); | 66 | type = it->second->Type(); |
65 | if ( type == "Biblical Texts" ) | 67 | if ( type == "Biblical Texts" ) |
66 | { | 68 | { |
@@ -81,6 +83,7 @@ OpenTextDlg::OpenTextDlg( QWidget *parent, sword::SWMgr *swordMgr, QPixmap *bibl | |||
81 | parent->insertItem( new QListViewItem( parent, QString::null, it->first.c_str() ) ); | 83 | parent->insertItem( new QListViewItem( parent, QString::null, it->first.c_str() ) ); |
82 | } | 84 | } |
83 | } | 85 | } |
86 | } | ||
84 | 87 | ||
85 | m_textList.sort(); | 88 | m_textList.sort(); |
86 | } | 89 | } |