The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Fix warning about missing layer in backgrounds tab

These changes was commited to the Birdfont repository Fri, 06 Nov 2015 19:16:47 +0000.

Contributing

Send patches or pull requests to johan.mattsson.m@gmail.com.
Clone this repository: git clone https://github.com/johanmattssonm/birdfont.git
author Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 06 Nov 2015 19:16:47 +0000 (20:16 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Fri, 06 Nov 2015 19:16:47 +0000 (20:16 +0100)
commit 989a45af32f43a2723aba2ee3f5effcce0dca348
tree 1c82b2e1723f455a0b69e056397e82101a8a3cb7
parent 628312000df02e535962e977b9a0cfa5530d6560
Fix warning about missing layer in backgrounds tab

libbirdfont/BackgroundTab.vala
--- a/libbirdfont/BackgroundTab.vala +++ b/libbirdfont/BackgroundTab.vala @@ -28,6 +28,8 @@ Toolbox tools = MainWindow.get_toolbox (); ZoomTool z = (ZoomTool) tools.get_tool ("zoom_tool"); z.store_current_view (); + + layers.add_layer (new Layer ()); } public static BackgroundTab get_instance () {