Version control: Correctly hide the 'Locate change' button when there is no change.
[DEVELOPMENT ENVIRONMENT] * BUG: Version control: Correctly hide the 'Locate change' button when there is no change.
This commit is contained in:
parent
be3731a7c2
commit
0579f59af6
2 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,7 @@ Private Sub LoadVersionControlInfo()
|
|||
edtChange.Text = sDiff
|
||||
edtChange.Show
|
||||
lblVersioning.Hide
|
||||
btnLocateChange.Show
|
||||
Else
|
||||
edtChange.Hide
|
||||
If Project.IsLocked($sPath) Then
|
||||
|
@ -84,6 +85,7 @@ Private Sub LoadVersionControlInfo()
|
|||
bHideUndoButton = True
|
||||
Endif
|
||||
lblVersioning.Show
|
||||
btnLocateChange.Hide
|
||||
Endif
|
||||
|
||||
btnRevert.Visible = Not bHideUndoButton
|
||||
|
|
|
@ -49,6 +49,7 @@
|
|||
}
|
||||
{ btnLocateChange Button
|
||||
MoveScaled(19,0,21,4)
|
||||
Visible = False
|
||||
AutoResize = True
|
||||
Text = ("Locate change")
|
||||
Picture = Picture["icon:/small/find"]
|
||||
|
|
Loading…
Reference in a new issue