The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Remove paths

These changes was commited to the Birdfont repository Mon, 28 Dec 2015 15:43:23 +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>
Mon, 28 Dec 2015 15:43:23 +0000 (16:43 +0100)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Mon, 28 Dec 2015 15:43:23 +0000 (16:43 +0100)
commit 42b7f507359fb13e100e585b471277192eb7f49d
tree c76d351c5ccfb2d78bdac67570dd645f3a6d0f34
parent 99c844d4721d46ecf44183a04a970c57f0cae603
Remove paths

libbirdfont/MoveTool.vala
--- a/libbirdfont/MoveTool.vala +++ b/libbirdfont/MoveTool.vala @@ -95,7 +95,12 @@ } foreach (Object p in g.active_paths) { - g.layers.remove (p); + if (p is FastPath) { + g.layers.remove_path (((FastPath) p).get_path ()); + } else { + g.layers.remove (p); + } + g.update_view (); }