src/Palete/SymbolFileCollection.vala
authorAlan <alan@roojs.com>
Wed, 8 May 2024 08:10:12 +0000 (16:10 +0800)
committerAlan <alan@roojs.com>
Wed, 8 May 2024 08:10:12 +0000 (16:10 +0800)
src/Palete/SymbolFileCollection.vala

index 264973e..17360d7 100644 (file)
@@ -33,7 +33,7 @@ namespace Palete {
                        var f = new SymbolFile.new_file(file);
                        this.files.set(path,f);
                        
-                       this.files_ids.set((int)f.id, f);
+                       this.id_to_file.set((int)f.id, f);
                        return f;       
                 
                }
@@ -48,7 +48,7 @@ namespace Palete {
                        }
                        var f = new SymbolFile.new_from_path(path,-1);
                        this.files.set(path,f);
-                       this.files_ids.set((int)f.id, f);
+                       this.id_to_file.set((int)f.id, f);
                        return f;