[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    koffice/lib/kofficecore
From:       Peter Simonsson <psn () linux ! se>
Date:       2006-02-06 20:04:46
Message-ID: 1139256286.196988.8050.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 506436 by psn:

Set the focus to the correct widget when the custom widget is selected by default


 M  +2 -0      koOpenPane.cc  


--- trunk/koffice/lib/kofficecore/koOpenPane.cc #506435:506436
@@ -248,6 +248,8 @@
 
   if(cfgGrp.readEntry("LastReturnType") == "Custom") {
     m_sectionList->setSelected(item, true);
+    KoSectionListItem* selectedItem = static_cast<KoSectionListItem*>(item);
+    m_widgetStack->widget(selectedItem->widgetIndex())->setFocus();
   }
 }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic