With the new dock with signal connections, would be interesting if a double click in a signal opened the connect window.
yeah and it would be nice that double clicking an existing connection would
tkae you to the code.. anyone wants to contribute this? :)
On Wed, Jun 8, 2016 at 11:15 PM, George Marques [email protected]
wrote:
With the new dock with signal connections, would be interesting if a
double click in a signal opened the connect window.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/5116, or mute the thread
https://github.com/notifications/unsubscribe/AF-Z2-evIt2c59sIzip16Cegq-Ka5GdMks5qJ3dLgaJpZM4Ixk0b
.
OK!
I can do it, but I'm not sure if @alabd14313's "OK!" means he will do it :D
@neikeq I actually tried it a few days ago.
I simply added a tree->connect("item_activated", this, "_connect_pressed");
to the ConnectionsDock
constructor.
That worked for connects but crashed on disconnects. I didn't investigate further but maybe you can figure it out :)
I would just select the item and and open the connection dialog
On Thu, Jun 9, 2016 at 11:04 AM, Andreas Haas [email protected]
wrote:
@neikeq https://github.com/neikeq I actually tried it a few days ago.
I simply added a tree->connect("item_activated", this,
"_connect_pressed"); to the ConnectionsDock constructor.That worked for connects but crashed on disconnects. I didn't investigate
further but maybe you can figure it out :)—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/5116#issuecomment-224904297,
or mute the thread
https://github.com/notifications/unsubscribe/AF-Z22e4-OZvj36MzfrSD0pwAjzjffPZks5qKB1egaJpZM4Ixk0b
.
Wouldn't it be better for existing connections to open the connection editor dialog allowing to edit the connection? If going to the target method if desired, maybe it would be done with a context menu.
Or the other way around: double click goes to code, context menu allows to: edit connection; remove connection.
somebody make a PR :P
I guess this can be closed. I proposed editing connections, but that was not really part of this issue.
Most helpful comment
Or the other way around: double click goes to code, context menu allows to: edit connection; remove connection.