Commit 67ff249
Fix duplicated version in copies of glyph collections
Changed files (3)
modifiedlibbirdfont/GlyphMaster.valamodifiedlibbirdfont/OverView.valamodifiedlibbirdfont/TabBar.vala
Diff
@@ -115,7 +115,6 @@ public class GlyphMaster : GLib.Object { foreach (Glyph g in glyphs) { n.glyphs.add (g);- n.glyphs.add (g); } n.selected = selected;@@ -1079,7 +1079,6 @@ public class OverView : FontDisplay { font.delete_glyph (g); font.add_glyph_collection (g); }- font.alternates = previous_collection.alternate_sets.copy (); redo_items.remove_at (redo_items.size - 1);@@ -328,8 +328,8 @@ public class TabBar : GLib.Object { public bool close_by_name (string name, bool background_tab = false) { int i = 0; - foreach (var t in tabs) {- if (t.get_display ().get_name () == name) {+ foreach (Tab tab in tabs) {+ if (tab.get_display ().get_name () == name) { bool closed = close_tab (i, background_tab); redraw_tab_bar (0, 0, width, height); return closed;