tweak API of Selectable

This commit is contained in:
Paul Davis 2016-06-05 19:49:51 -04:00
parent 6adac60323
commit 8125ea5909
7 changed files with 14 additions and 12 deletions

View file

@ -1566,7 +1566,7 @@ Editor::select_all_within (framepos_t start, framepos_t end, double top, double
if (preserve_if_selected && op != Selection::Toggle) {
list<Selectable*>::iterator i = found.begin();
while (i != found.end() && (*i)->get_selected()) {
while (i != found.end() && (*i)->selected()) {
++i;
}