mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Get --module=[modname] working again (broke when position config validation was added)
This commit is contained in:
@@ -51,8 +51,6 @@ func (widget *Widget) Refresh() {
|
||||
widget.Render()
|
||||
}
|
||||
|
||||
/* -------------------- Unexported Functions -------------------- */
|
||||
|
||||
func (widget *Widget) Render() {
|
||||
if widget.result == nil {
|
||||
return
|
||||
@@ -63,6 +61,8 @@ func (widget *Widget) Render() {
|
||||
widget.Redraw(str, widget.contentFrom(widget.result), false)
|
||||
}
|
||||
|
||||
/* -------------------- Unexported Functions -------------------- */
|
||||
|
||||
func (widget *Widget) openItem() {
|
||||
sel := widget.GetSelected()
|
||||
if sel >= 0 && widget.result != nil && sel < len(widget.result.Issues) {
|
||||
|
||||
Reference in New Issue
Block a user