fix layout not saved after refresh

This commit is contained in:
Jonathan Jenne 2019-04-11 16:00:41 +02:00
parent 8dadf1ff30
commit 7ae7295e6c

View File

@ -736,9 +736,11 @@ Public Class frmMain
End Sub End Sub
Private Sub Timer_Tick(sender As System.Object, e As System.EventArgs) Handles TimerRefresh.Tick Private Sub Timer_Tick(sender As System.Object, e As System.EventArgs) Handles TimerRefresh.Tick
SaveGridLayout()
Load_Profile_items() Load_Profile_items()
Decide_Load() Decide_Load()
tsslblLastSysnc.Text = "Letzte Synchronisation: " & Now.ToLongTimeString tsslblLastSysnc.Text = "Letzte Synchronisation: " & Now.ToLongTimeString
RestoreLayout()
End Sub End Sub
Private Sub NotifyIcon1_Click(sender As System.Object, e As System.EventArgs) Handles NotifyIcon1.Click Private Sub NotifyIcon1_Click(sender As System.Object, e As System.EventArgs) Handles NotifyIcon1.Click
@ -777,8 +779,10 @@ Public Class frmMain
End Sub End Sub
Private Sub ToolStripButton2_Click_1(sender As Object, e As EventArgs) Handles tsbtnrefresh.Click Private Sub ToolStripButton2_Click_1(sender As Object, e As EventArgs) Handles tsbtnrefresh.Click
SaveGridLayout()
Load_Profile_items() Load_Profile_items()
Decide_Load() Decide_Load()
RestoreLayout()
End Sub End Sub
Private Sub ToolStripButton2_Click_2(sender As Object, e As EventArgs) Private Sub ToolStripButton2_Click_2(sender As Object, e As EventArgs)