src/Builder4/WindowLeftProps.bjs
authorAlan <alan@roojs.com>
Thu, 9 Jun 2022 04:31:05 +0000 (12:31 +0800)
committerAlan <alan@roojs.com>
Thu, 9 Jun 2022 04:31:05 +0000 (12:31 +0800)
src/Builder4/WindowLeftProps.vala

src/Builder4/WindowLeftProps.bjs
src/Builder4/WindowLeftProps.vala

index b0883af..d29791e 100644 (file)
          "     //if (ev.type == Gdk.EventType.2BUTTON_PRESS  && ev.button == 1 && col.title == \"Name\") {    ",
          "     if (ev.button == 1 && col.title == \"Name\") {    ",
          "     ",
-         "        this.editPropertyDetails(path,  ev.y); ",
+         "        this.editPropertyDetails(path, (int) ev.y); ",
          "         ",
          "        return false;",
          "    }",
index ec17257..4c14609 100644 (file)
@@ -1436,7 +1436,7 @@ public class Xcls_LeftProps : Object
                  //if (ev.type == Gdk.EventType.2BUTTON_PRESS  && ev.button == 1 && col.title == "Name") {    
                  if (ev.button == 1 && col.title == "Name") {    
                  
-                    this.editPropertyDetails(path,  ev.y); 
+                    this.editPropertyDetails(path, (int) ev.y); 
                      
                     return false;
                 }