Hi,

I’ve logged a bug report. Proposed fix:

diff --git a/components/ComboBox.qml b/components/ComboBox.qml
index 1f880df..5db2dcf 100644
--- a/components/ComboBox.qml
+++ b/components/ComboBox.qml
@@ -250,7 +251,7 @@ ValueButton {
                     id: delegateItem

                     onClicked: {
-                        comboBox.currentItem = model.item
+                        comboBox.menu.activated(index)
                         pageStack.pop()
                     }

Best Regards,
Martin.

On 22 Dec 2013, at 2:56 am, Mikko Leppänen 
<mleppa...@gmail.com<mailto:mleppa...@gmail.com>> wrote:

Hi,

I have a case where a column contains multiple Comboboxes and each of these 
boxes have a different number of menuitems inside the Contextmenu. Now 
everything works fine if the contextmenu only contains a few items and the 
focus stays on the current page. However when there's more items to be shown 
and it needs to show the items on a different page, then I'm not able get the 
contextmenu to invoke onActivated signal handler (items are listed though). I'm 
not quite sure what seems to be causing this?

This is an older project which I now started to reshape and noticed this issue. 
At least I get it to work properly in the first release of the SDK.


Thanks,
Mikko
_______________________________________________
SailfishOS.org<http://SailfishOS.org> Devel mailing list

_______________________________________________
SailfishOS.org Devel mailing list

Reply via email to