jj: fix profil panel being collapsed on refresh
This commit is contained in:
parent
37d945f0b7
commit
4c45b66098
@ -221,8 +221,11 @@ Public Class frmMain
|
||||
|
||||
Sub Load_Profile_items()
|
||||
Cursor = Cursors.WaitCursor
|
||||
Dim profileGroupOpen As Boolean = False
|
||||
|
||||
Try
|
||||
Dim CurrGroup As NavBarGroup = NavBarControl1.Groups(0)
|
||||
profileGroupOpen = CurrGroup.Expanded
|
||||
Try
|
||||
|
||||
CurrGroup.ItemLinks.Clear()
|
||||
@ -253,9 +256,8 @@ Public Class frmMain
|
||||
|
||||
AddHandler NavBarControl1.LinkClicked, AddressOf navBar_LinkClicked
|
||||
Next
|
||||
If GRID_LOAD_TYPE = "OVERVIEW" Then
|
||||
CurrGroup.Expanded = False
|
||||
End If
|
||||
|
||||
CurrGroup.Expanded = profileGroupOpen
|
||||
|
||||
Catch ex As Exception
|
||||
ClassLogger.Add("Load_Profile_items - Error: " & ex.Message)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user