Version: (using KDE KDE 3.2.0) Compiler: gcc 3.3.1 -march=pentium2 OS: Linux Currently, for overwriting a template, you have to enter its name, as you cannot get its name by clicking on it. (Usability problem.) (This is a follow up of bug #73537 .)
CVS commit by goutte: When a template gets selected, show its name in the name line edit. CCMAIL:76299@bugs.kde.org M +9 -1 koTemplateCreateDia.cc 1.43 --- koffice/lib/kofficeui/koTemplateCreateDia.cc #1.42:1.43 @@ -176,5 +176,13 @@ KoTemplateCreateDia::~KoTemplateCreateDi void KoTemplateCreateDia::slotSelectionChanged() { - d->m_remove->setEnabled(d->m_groups->currentItem()); + const QListViewItem* item = d->m_groups->currentItem(); + d->m_remove->setEnabled( item ); + if ( ! item ) + return; + + if ( item->depth() > 0 ) + { + d->m_name->setText( item->text( 0 ) ); + } }
*** Bug has been marked as fixed ***.