Skip to content

Commit 4fd2ceb

Browse files
committed
Update connection menu buttons on lost connection
Main menu state was not being updated in a lost connection event handler.
1 parent 977a3ef commit 4fd2ceb

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

WinNUT_V2/WinNUT-Client/WinNUT.vb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,7 @@ Public Class WinNUT
446446
UpdateIcon_NotifyIcon()
447447
LogFile.LogTracing("Update Icon", LogLvl.LOG_DEBUG, Me)
448448
RaiseEvent UpdateBatteryState("Lost Connect")
449+
UpdateMainMenuState()
449450
End Sub
450451

451452
''' <summary>

0 commit comments

Comments
 (0)