From 39f256de174af80fd8ba2560e8586dda99d06b7d Mon Sep 17 00:00:00 2001 From: zecke Date: Fri, 15 Nov 2002 10:01:40 +0000 Subject: Fix the DueDate button not beeing enabled when it should --- (limited to 'core') diff --git a/core/pim/todo/taskeditoroverviewimpl.cpp b/core/pim/todo/taskeditoroverviewimpl.cpp index c10ad40..24b3386 100644 --- a/core/pim/todo/taskeditoroverviewimpl.cpp +++ b/core/pim/todo/taskeditoroverviewimpl.cpp @@ -46,6 +46,7 @@ void TaskEditorOverViewImpl::load( const OTodo& todo) { ckbDue->setChecked( todo.hasDueDate() ); btnDue->setText( TimeString::longDateString( todo.dueDate() ) ); + btnDue->setEnabled( todo.hasDueDate() ); cmbPrio->setCurrentItem( todo.priority() -1 ); ckbCompleted->setChecked( todo.isCompleted() ); -- cgit v0.9.0.2