summaryrefslogtreecommitdiff
authorleseb <leseb>2002-07-10 17:45:15 (UTC)
committer leseb <leseb>2002-07-10 17:45:15 (UTC)
commit6456ddb2be2a874e858ee25d8463e446b7af58d5 (patch) (unidiff)
treec2354188cea6176ed1959dfd304f701428da1ce7
parent46110a78dd0646d972f238e295ee016f3e78fb85 (diff)
downloadopie-6456ddb2be2a874e858ee25d8463e446b7af58d5.zip
opie-6456ddb2be2a874e858ee25d8463e446b7af58d5.tar.gz
opie-6456ddb2be2a874e858ee25d8463e446b7af58d5.tar.bz2
Fix "view" menu item
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/pim/todo/mainwindow.cpp6
-rw-r--r--core/pim/todo/mainwindow.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/core/pim/todo/mainwindow.cpp b/core/pim/todo/mainwindow.cpp
index d419166..27e76d9 100644
--- a/core/pim/todo/mainwindow.cpp
+++ b/core/pim/todo/mainwindow.cpp
@@ -160,2 +160,3 @@ TodoWindow::TodoWindow( QWidget *parent, const char *name, WFlags f ) :
160 this, SLOT(slotShowDetails() ) ); 160 this, SLOT(slotShowDetails() ) );
161 viewAction = a;
161 162
@@ -438,2 +439,3 @@ void TodoWindow::currentEntryChanged( int r, int )
438 editAction->setEnabled( TRUE ); 439 editAction->setEnabled( TRUE );
440 viewAction->setEnabled( TRUE );
439 deleteAction->setEnabled( TRUE ); 441 deleteAction->setEnabled( TRUE );
@@ -443,2 +445,3 @@ void TodoWindow::currentEntryChanged( int r, int )
443 editAction->setEnabled( FALSE ); 445 editAction->setEnabled( FALSE );
446 viewAction->setEnabled( FALSE );
444 deleteAction->setEnabled( FALSE ); 447 deleteAction->setEnabled( FALSE );
@@ -609,2 +612,4 @@ void TodoWindow::showDeadline( bool s )
609{ 612{
613 if ( !table->isUpdatesEnabled() )
614 return;
610 table->setPaintingEnabled( false ); 615 table->setPaintingEnabled( false );
@@ -612,2 +617,3 @@ void TodoWindow::showDeadline( bool s )
612 table->setPaintingEnabled( true ); 617 table->setPaintingEnabled( true );
618 mStack->raiseWidget( 1 );
613} 619}
diff --git a/core/pim/todo/mainwindow.h b/core/pim/todo/mainwindow.h
index f62ec6e..7e8445c 100644
--- a/core/pim/todo/mainwindow.h
+++ b/core/pim/todo/mainwindow.h
@@ -81,2 +81,3 @@ private:
81 QAction *editAction, 81 QAction *editAction,
82 *viewAction,
82 *deleteAction, 83 *deleteAction,