author | zecke <zecke> | 2002-04-29 10:17:33 (UTC) |
---|---|---|
committer | zecke <zecke> | 2002-04-29 10:17:33 (UTC) |
commit | e4d0908ec054b71a9b97e9c35efbd5a697d0b58d (patch) (side-by-side diff) | |
tree | 1c483d82624c8af936af99399db9c7ea7922c90c /core/pim/todo/mainwindow.cpp | |
parent | 9e2a233287309bdb6bcb228aaf075f8c14a1a687 (diff) | |
download | opie-e4d0908ec054b71a9b97e9c35efbd5a697d0b58d.zip opie-e4d0908ec054b71a9b97e9c35efbd5a697d0b58d.tar.gz opie-e4d0908ec054b71a9b97e9c35efbd5a697d0b58d.tar.bz2 |
Create an Event. And modify it and try to view it
The Event gets "losed" this was reported by Stefan Eilers
Currently I'm searching my brown paper bag but I just wanted to say
I fixed it it was introduced with the change from Task-> ToDoDB
Diffstat (limited to 'core/pim/todo/mainwindow.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | core/pim/todo/mainwindow.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp index a28fc3e..294f37c 100644 --- a/core/pim/todo/mainwindow.cpp +++ b/core/pim/todo/mainwindow.cpp @@ -369,22 +369,23 @@ void TodoWindow::slotEdit() QMessageBox::warning(this, tr("Todo"), tr("Can not edit data, currently syncing")); return; } ToDoEvent todo = table->currentEntry(); - + qWarning("slotEdit" ); NewTaskDialog e( todo, this, 0, TRUE ); e.setCaption( tr( "Edit Task" ) ); #if defined(Q_WS_QWS) || defined(_WS_QWS_) e.showMaximized(); #endif int ret = e.exec(); if ( ret == QDialog::Accepted ) { + qWarning("Replacing now" ); table->setPaintingEnabled( false ); todo = e.todoEntry(); table->replaceCurrentEntry( todo ); table->setPaintingEnabled( true ); } populateCategories(); |