On Feb 18, 2008 7:18 PM, Robert Manning <rob...@gm...> wrote:
> On Feb 14, 2008 5:18 PM, Baxter, Betsy <bb...@ci...> wrote:
> > Is there something we can do to enable the right-click to set focus on
> > an item?
>
> Hi Betsy,
>
> This behavior appears to me to be hard-coded. The attached univ. diff
> patch can be applied to the latest version of
>
> app/src/net/sourceforge/squirrel_sql/client/session/mainpanel/objecttree/ObjectTree.java
>
> in CVS and should give you the behavior you desire.
Further testing revealed that the previous patch discards existing
selections erroneously. So the attached patch should be used instead.
When selecting a node that is not already selected, then the
selection changes; but if the node(or nodes) is already selected, then
existing selection is not modified.
BTW, this behavior is inconsistent with other lists in the application
(for example, like drivers and aliases). It will take a bit more
effort to make this desired behaviour consistent across the entire
application. But this should at least give you what you requested.
Let me know if you have any troubles with it.
Rob
|