Diffstat (limited to 'core/pim/todo/templateeditor.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | core/pim/todo/templateeditor.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/pim/todo/templateeditor.cpp b/core/pim/todo/templateeditor.cpp index 3930428..ca02173 100644 --- a/core/pim/todo/templateeditor.cpp +++ b/core/pim/todo/templateeditor.cpp @@ -26,14 +26,13 @@ void TemplateEditor::init() { connect(a, SIGNAL(activated() ), this, SLOT(setUp() ) ); a->addTo( m_main->options() ); } void TemplateEditor::setUp() { - qWarning("set up"); TemplateDialogImpl dlg(m_main, m_man ); int ret= dlg.exec(); - if (QDialog::Accepted != ret ) { + if (QDialog::Accepted != ret ) m_man->load(); - }else + else m_main->populateTemplates(); } |