The Birdfont Source Code


All Repositories / birdfont.git / commit – RSS feed

Set selected item when overview is updated

These changes was commited to the Birdfont repository Wed, 15 Jun 2016 14:32:53 +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>
Wed, 15 Jun 2016 14:32:53 +0000 (16:32 +0200)
committer Johan Mattsson <johan.mattsson.m@gmail.com>
Wed, 15 Jun 2016 14:32:53 +0000 (16:32 +0200)
commit 4396947362df05cde7c5527734c5323353841dca
tree 634743ac5899ae444df047589b88fc782b847c8f
parent 157e69ec581eef7e67c152c85be96fb8c6688e4f
Set selected item when overview is updated

libbirdfont/OverView.vala
--- a/libbirdfont/OverView.vala +++ b/libbirdfont/OverView.vala @@ -503,7 +503,7 @@ return new OverViewItem (); } - if (!(0 <= selected < visible_items.size)) { + if (!(0 <= selected < visible_items.size)) { return selected_item; } @@ -658,6 +658,7 @@ } } + get_selected_item ().selected = true; update_scheduled = false; }