mirror of
https://github.com/taigrr/wtf
synced 2026-04-01 07:48:45 -07:00
Remove common functionality from KeyboardWidget and into Base
Signed-off-by: Chris Cummer <chriscummer@me.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package pihole
|
||||
|
||||
func (widget *Widget) initializeKeyboardControls() {
|
||||
widget.InitializeHelpTextKeyboardControl(widget.ShowHelp)
|
||||
widget.InitializeRefreshKeyboardControl(widget.Refresh)
|
||||
|
||||
widget.SetKeyboardChar("d", widget.disable, "disable Pi-hole")
|
||||
|
||||
Reference in New Issue
Block a user