Skip to content

Commit

Permalink
Merge pull request #6480 from Patowhiz/AdditionsPositionControlDialogs
Browse files Browse the repository at this point in the history
Fixed compilation warning related to adding and removing of event handler in ucrSave
  • Loading branch information
lloyddewit authored Jun 6, 2021
2 parents b2d2b0c + a5af574 commit e270fcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions instat/ucrSave.vb
Original file line number Diff line number Diff line change
Expand Up @@ -900,7 +900,7 @@ Public Class ucrSave
Me.ucrLinkedReceiver = ucrLinkedReceiver
AddHandler Me.ucrLinkedReceiver.ControlValueChanged, AddressOf LinkedReceiverControlValueChanged
'call event handler to immediately get the values from the new receiver
LinkedReceiverControlValueChanged()
LinkedReceiverControlValueChanged(Me.ucrLinkedReceiver)
End Sub

'''--------------------------------------------------------------------------------------------
Expand All @@ -916,7 +916,7 @@ Public Class ucrSave
''' parameters are set to append the column after the final column. </para>
''' </summary>
'''--------------------------------------------------------------------------------------------
Private Sub LinkedReceiverControlValueChanged()
Private Sub LinkedReceiverControlValueChanged(ucrChangedControl As ucrCore)
If Not sdgSaveColumnPosition.bUserSelected Then
bInsertColumnBefore = False
If ucrLinkedReceiver.IsEmpty Then
Expand Down

0 comments on commit e270fcd

Please sign in to comment.