Closed zlotny closed 4 years ago
Both TextEditor
and TextBox
inherit set_enabled(bool)
from GUI::Widget
.
They probably need to respect the is_enabled()
state better though :)
You're right :). Reworded
Well, they indeed respect is_enabled() at least in what focus and writing is related. What they didn't do is change the colour to better inform the user they won't do anything.
This is improved by PR #1996
For example now FileManager/PropertiesDialog has to rely on manually preventing the user writing on the TextBox to act like it's disabled, which is not ideal.