diff options
author | Aayush <aayushsharma889@gmail.com> | 2022-12-24 19:49:32 +0100 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-12-25 15:40:46 +0100 |
commit | bc1293925a271976f0646c6741e402db1f48d2fd (patch) | |
tree | 4cca6ded250e09a895fe5ae09df2b9c8b16b16b6 /Userland/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.cpp | |
parent | 2b1342b1204941a8e1fbb2c33403659b000f46e1 (diff) | |
download | serenity-bc1293925a271976f0646c6741e402db1f48d2fd.zip |
Hackstudio: Use `GUI::TextEditor' actions for cut/copy/paste buttons
This fixes a bug where hackstudio's language server will crash upon
clicking the 'cut' button when no text is selected. This was because
the actions were not disabled on empty selection.
We now disable the actions depending on if there is empty selection
inside current tab. We update the cut/copy/paste buttons' actions when
changing tabs.
Diffstat (limited to 'Userland/Libraries/LibWeb/WebGL/WebGLRenderingContextBase.cpp')
0 files changed, 0 insertions, 0 deletions