diff -r 24590af32ad6 -r 6da096930534 src/ui/canvas.cpp --- a/src/ui/canvas.cpp Sat Mar 05 16:57:28 2022 +0200 +++ b/src/ui/canvas.cpp Sat Mar 05 17:18:44 2022 +0200 @@ -276,6 +276,14 @@ } /** + * @returns the ids of the currently selected objects + */ +const QSet Canvas::selectedObjects() const +{ + return this->selection; +} + +/** * @brief Paints a circle at where @c worldPoint is located on the screen. * @param painter Painter to use to render * @param worldPoint Point to render