-rw-r--r-- | core/pim/todo/mainwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index c90166b..d328558 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -252,5 +252,5 @@ void MainWindow::initEditor() { } void MainWindow::initShow() { - m_curShow = new TextViewShow(this); + m_curShow = new TextViewShow(this, this); m_stack->addWidget( m_curShow->widget() , m_counter++ ); } @@ -814,2 +814,5 @@ void MainWindow::add( const OPimRecord& rec) { populateCategories(); } +void MainWindow::slotReturnFromView() { + raiseCurrentView(); +} |