mirror of
https://github.com/markqvist/NomadNet.git
synced 2026-10-26 19:01:44 -04:00
Interfaces: Add shortcut for enabling / disabling from Interfaces screen, don't show stats for disabled interfaces. Allow saving currently enabled interfaces as a profile, show incoming_announce_frequency in stats, remove interface enable dialog, track changes to show restart hint, extra stats, fixea
This commit is contained in:
parent
fb7b42bea2
commit
6ca3590dc1
3 changed files with 586 additions and 155 deletions
|
|
@ -130,6 +130,11 @@ class InterfaceProfiles:
|
|||
self.save()
|
||||
return pid
|
||||
|
||||
def save_current_as_profile(self, name):
|
||||
pid = self.create(name)
|
||||
self.set_members(pid, sorted(self.enabled_set()))
|
||||
return pid
|
||||
|
||||
def rename(self, pid, name):
|
||||
p = self.get(pid)
|
||||
if p is not None and name:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue