Fix focus issue with the 'Toggle display' button in the keybindings manager
commit7a9b9f8171334b2e578bd91bc99b15fc316dca39
authorMiciah Dashiel Butler Masters <miciah@myrealbox.com>
Sat, 24 Jun 2006 08:22:24 +0000 (24 08:22 +0000)
committerMiciah Dashiel Butler Masters <miciah@FroodyComp.localdomain>
Sat, 24 Jun 2006 08:22:24 +0000 (24 08:22 +0000)
treeeb82b4a3ee4450c88b4b0f7e127f8365455af0a2
parent76f3dc99b31be14b40ea9e44549092cc4621c2c9
Fix focus issue with the 'Toggle display' button in the keybindings manager

Don't call clear_dialog, which sets the focus to the listbox.  Neither the
button widget nor the listbox widget has a clear callback, and the only
other thing that clear_dialog does is focus the first widget and redraw, so
call redraw_dialog instead.

Thanks to Kalle Olavi Niemitalo for noticing the issue.
src/config/dialogs.c