src/Builder4/PopoverFileDetails.bjs
authorAlan <alan@roojs.com>
Thu, 4 Jan 2024 10:23:53 +0000 (18:23 +0800)
committerAlan <alan@roojs.com>
Thu, 4 Jan 2024 10:23:53 +0000 (18:23 +0800)
src/Builder4/PopoverFileDetails.vala

src/Builder4/PopoverFileDetails.bjs
src/Builder4/PopoverFileDetails.vala

index dcbcc9e..5e34e9e 100644 (file)
     "\t\t//_this.dir_dropdown.el.selected = Gtk.INVALID_LIST_POSITION;",
     "    ",
     "        this.save_btn.el.set_label(\"Create\");",
-    "\t    _this.filetype.el.show();",
-    "\t    _this.filetype_lbl.el.show();",
-    "\t\t_this.filetype.el.selected = Gtk.INVALID_LIST_POSITION;",
-    "\t    _this.filetype.showhide();",
+    "\t    this.filetype.el.show();",
+    "\t    this.filetype_lbl.el.show();",
+    "\t    this.filetype_model.load();",
+    "\t\tthis.filetype.el.selected = Gtk.INVALID_LIST_POSITION;",
+    "\t    this.filetype.showhide();",
     "\t    ",
     "    }",
     "    ",
index 61765fc..906a7ed 100644 (file)
                        //_this.dir_dropdown.el.selected = Gtk.INVALID_LIST_POSITION;
             
                 this.save_btn.el.set_label("Create");
-                   _this.filetype.el.show();
-                   _this.filetype_lbl.el.show();
-                       _this.filetype.el.selected = Gtk.INVALID_LIST_POSITION;
-                   _this.filetype.showhide();
+                   this.filetype.el.show();
+                   this.filetype_lbl.el.show();
+                   this.filetype_model.load();
+                       this.filetype.el.selected = Gtk.INVALID_LIST_POSITION;
+                   this.filetype.showhide();
                    
             }