The Birdfont Source Code


All Repositories / birdfont.git / blobdiff – RSS feed

Fix glyph selection in alternate tab

Changes made to libbirdfont/OtfFeatureTable.vala

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
--- libbirdfont/OtfFeatureTable.vala +++ libbirdfont/OtfFeatureTable.vala @@ -54,7 +54,8 @@ gs.selected_glyph.connect ((gc) => { glyph_collection = gc; - replacement_glyph = null; + replacement_glyph = null; + Tool.yield (); MainWindow.get_tab_bar ().select_tab_name (get_name ()); }); @@ -63,7 +64,8 @@ GlyphSelection gs = new GlyphSelection (); gs.selected_glyph.connect ((gc) => { - replacement_glyph = gc; + replacement_glyph = gc; + Tool.yield (); MainWindow.get_tab_bar ().select_tab_name (get_name ()); });