+1 vote

When you click with the right mouse button in the line edit a wild menu appears, is there a way to disable it?

in Engine by (1,082 points)
edited by

1 Answer

0 votes

i never noticed this, if found this work around:

self.get_node("your_line_edit").get_menu().set_opacity(0)

as far as i can tell you also cant click on the options if the opacity is zero.

by (289 points)

It just makes it invisible, it still works. Well I guess I have to live with it.

when i tested it did not work however i could have made an misstake.

Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.

Categories