Status: New
Owner: ----

New issue 186 by demaplestory: Dir Browser fails to expand on double click
http://code.google.com/p/ulipad/issues/detail?id=186

On Windows XP, Python 2.6.2, wxPython 2.8.10.1 Ulipad 3.9.

When double click on the Dir Browser, the folder fails to expand. The same
problem can be seen on the wxPython demo TreeCtrl as well.

The fix I found is to "skip" the event of EVT_TREE_ITEM_ACTIVATED.

    def OnSelected(self, event):
        item = event.GetItem()
        if not self.is_ok(item): return
        filename = self.get_node_filename(item)
        if self.isFile(item):
            document = self.mainframe.editctrl.new(filename)
            if document:
                wx.CallAfter(document.SetFocus)
        event.Skip()  #added to fix the expand issue

--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

Reply via email to