The Birdfont Source Code


All Repositories / birdfont.git / commitdiff – RSS feed

Load empty canvas when all tabs have been closed

These changes was commited to the Birdfont repository Fri, 10 Oct 2014 13:01:20 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
[Fri, 10 Oct 2014 13:01:20 +0000]

Updated Files

libbirdfont/TabBar.vala
--- a/libbirdfont/TabBar.vala +++ b/libbirdfont/TabBar.vala @@ -269,6 +269,7 @@ if (tabs.size == 1) { empty_tab_canvas = new EmptyTab ("", ""); gc = new GlyphCollection.with_glyph('\0', ""); + MainWindow.get_glyph_canvas ().set_display (empty_tab_canvas); MainWindow.get_glyph_canvas ().set_current_glyph_collection (gc); empty_tab = new Tab (empty_tab_canvas, 0, false); signal_tab_selected (empty_tab);