diff options
Diffstat (limited to 'internal/client/ui/core/core.go')
| -rw-r--r-- | internal/client/ui/core/core.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/internal/client/ui/core/core.go b/internal/client/ui/core/core.go index fdaab35..27c6b96 100644 --- a/internal/client/ui/core/core.go +++ b/internal/client/ui/core/core.go @@ -193,7 +193,9 @@ func (m *Model) updateConnected(msg tea.Msg) tea.Cmd { } case FocusNetwork: if m.frequencyCreationPopup == nil { - popup := frequencycreation.New() + index := m.networkList.Index() + network := state.State.Networks[index] + popup := frequencycreation.New(network.ID) m.frequencyCreationPopup = &popup } } |
