summaryrefslogtreecommitdiff
path: root/Userland/DevTools
diff options
context:
space:
mode:
authorJohn Diamond <john@kry.se>2021-09-08 22:16:48 +0200
committerAndreas Kling <kling@serenityos.org>2021-09-09 02:32:29 +0200
commitc1063e3219eb5fb345ef1622607aacf8836bab96 (patch)
treea13fe3ccacd509d4b9e484812d7388395011320c /Userland/DevTools
parent882c7b12959788b9ac40bf5641a7b50d0844a428 (diff)
downloadserenity-c1063e3219eb5fb345ef1622607aacf8836bab96.zip
LibGUI: Disable Open/Save button in FilePicker when nothing is selected
The existing behaviour is that filename_textbox is cleared if a node of the wrong type is selected. Here we reflect that state update in the state of the ok_button. This change helps the user to avoid confirming (and seeing an alert) if they press "Open" after clicking on an invalid node.
Diffstat (limited to 'Userland/DevTools')
0 files changed, 0 insertions, 0 deletions