Update Form Designer - Menubar - Add Edit Menu - Duplication option.
@@ -1078,6 +1078,9 @@ class FormDesignerController from WindowsControllerParent
func ExitAction
Super.CloseAction()
+ func Duplicate
+
+
func Toolbox
if oView.oToolBoxDock.isvisible() {
oView.oToolBoxDock.hide()
@@ -1221,6 +1224,16 @@ Class FormDesignerView from WindowsViewParent
}
addaction(oAction)
}
+ subEdit = addmenu("Edit")
+ subEdit {
+ oAction = new qAction(this.win) {
+ setShortcut(new QKeySequence("Ctrl+v"))
+ settext("Duplicate")
+ setclickevent(Method(:Duplicate))
+ }
+ addaction(oAction)
+ addseparator()
+ }
subView = addmenu("View")
subView {
oAction = new qAction(this.win) {
