Commit c753fbc2 authored by Benoît Minisini's avatar Benoît Minisini
Browse files

Version Control: Add a button that shows all the modifications in the version control panel.

[DEVELOPMENT ENVIRONMENT]
* NEW: Version Control: Add a button that shows all the modifications in the version control panel.
parent 9072d7c9
Pipeline #330243590 passed with stage
in 24 minutes and 44 seconds
......@@ -377,6 +377,8 @@ Public Sub ReadConfig()
Project.SetSmallFont(hCtrl)
Next
btnChanges.Picture = Picture["img/32/modified.png"].Stretch(Stock.GetSize("small"))
'H = Max(Stock.GetSize("small"), cmbWatch.Font.H) * 1.4
'panWatch.H = H
' For Each hChild In panWatch.Children
......@@ -1785,3 +1787,9 @@ Public Sub cmbWatch_Change()
UpdateWatchButtons
End
Public Sub btnChanges_Click()
FFileInfoVC.Run(Project.Dir)
End
......@@ -285,26 +285,31 @@
ToolTip = ("Clear console")
Picture = Picture["icon:/small/clear"]
}
{ btnChanges ToolButton
MoveScaled(9,0,17,4)
AutoResize = True
Text = ("Modifications.") & "..."
}
{ btnVcCommit ToolButton
MoveScaled(9,0,12,4)
MoveScaled(28,0,12,4)
AutoResize = True
Text = ("Commit") & "..."
Picture = Picture["icon:/small/upload"]
}
{ btnVcUpdate ToolButton
MoveScaled(20,0,15,4)
MoveScaled(41,0,15,4)
AutoResize = True
Text = ("Synchronize")
Picture = Picture["icon:/small/download"]
}
{ btnVcRevert ToolButton
MoveScaled(34,0,20,4)
MoveScaled(57,0,9,4)
AutoResize = True
Text = ("Revert all changes") & "..."
Picture = Picture["icon:/small/undo"]
}
{ btnVcAddAll ToolButton
MoveScaled(54,0,27,4)
MoveScaled(68,0,13,4)
AutoResize = True
Text = ("Add everything to repository")
Picture = Picture["icon:/small/add"]
......
......@@ -1828,7 +1828,12 @@ Public Sub gvwLayout_Select()
Endif
sName = $aLayout[gvwLayout.Row * 2]
btnDeleteLayout.Enabled = Exist(GetLayoutPath(sName))
If sName Then
btnDeleteLayout.Enabled = Exist(GetLayoutPath(sName))
Else
btnDeleteLayout.Enabled = False
Endif
LoadLayout(sName)
End
......
......@@ -958,6 +958,7 @@
}
{ btnDeleteLayout Button
MoveScaled(0,5,19,4)
Enabled = False
AutoResize = True
Text = ("Delete")
Picture = Picture["icon:/small/delete"]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment