summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2005-02-03 19:12:28 (UTC)
committer zautrix <zautrix>2005-02-03 19:12:28 (UTC)
commit48c87f3c5dcb1c373c812ca6068cfa1417802f27 (patch) (side-by-side diff)
treea96b3e173a828b2be1d3db1ad528567218518457
parentfb6753570dc90e936b4e89092554ab012e946a56 (diff)
downloadkdepimpi-48c87f3c5dcb1c373c812ca6068cfa1417802f27.zip
kdepimpi-48c87f3c5dcb1c373c812ca6068cfa1417802f27.tar.gz
kdepimpi-48c87f3c5dcb1c373c812ca6068cfa1417802f27.tar.bz2
fiihiix
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--korganizer/kotodoeditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/korganizer/kotodoeditor.cpp b/korganizer/kotodoeditor.cpp
index ec5c2d1..70dfbd1 100644
--- a/korganizer/kotodoeditor.cpp
+++ b/korganizer/kotodoeditor.cpp
@@ -278,15 +278,15 @@ void KOTodoEditor::setDefaults(QDateTime due,Todo *relatedEvent,bool allDay)
mGeneral->setCategories (mRelatedTodo->categoriesStr ());
mGeneral->setSecrecy (mRelatedTodo->secrecy ());
if ( mRelatedTodo->priority() < 3 )
mGeneral->mPriorityCombo->setCurrentItem(mRelatedTodo->priority()-1);
mGeneral->mSummaryEdit->lineEdit()->setText(mRelatedTodo->summary()+": ");
int len = mRelatedTodo->summary().length();
- mGeneral->mSummaryEdit->lineEdit()->setSelection ( 0, len+2 );
- mGeneral->mSummaryEdit->lineEdit()->setCursorPosition ( len+2 );
mGeneral->mSummaryEdit->lineEdit()->setFocus();
+ mGeneral->mSummaryEdit->lineEdit()->setCursorPosition ( len+2 );
+ mGeneral->mSummaryEdit->lineEdit()->setSelection ( 0, len+2 );
} else
mGeneral->setFocusOn( 2 );
}
void KOTodoEditor::readTodo(Todo *todo)