summaryrefslogtreecommitdiff
path: root/src/helpers.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/helpers.h')
-rw-r--r--src/helpers.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/helpers.h b/src/helpers.h
index dafe2e09..1e2c7b5d 100644
--- a/src/helpers.h
+++ b/src/helpers.h
@@ -167,7 +167,7 @@ void moveSelectedItemsUp(NC::Menu<MPD::Song> &m, F swap_fun)
// if we move only one item, do not select it. however, if single item
// was selected prior to move, it'll deselect it. oh well.
list[0]->setSelected(false);
- m.scroll(NC::wUp);
+ m.scroll(NC::Scroll::Up);
}
}
}
@@ -201,7 +201,7 @@ void moveSelectedItemsDown(NC::Menu<MPD::Song> &m, F swap_fun)
// if we move only one item, do not select it. however, if single item
// was selected prior to move, it'll deselect it. oh well.
list[0]->setSelected(false);
- m.scroll(NC::wDown);
+ m.scroll(NC::Scroll::Down);
}
}
}