diff options
Diffstat (limited to 'Userland/Demos')
-rw-r--r-- | Userland/Demos/WidgetGallery/GalleryWidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Userland/Demos/WidgetGallery/GalleryWidget.cpp b/Userland/Demos/WidgetGallery/GalleryWidget.cpp index 40afb26a19..0a442db33d 100644 --- a/Userland/Demos/WidgetGallery/GalleryWidget.cpp +++ b/Userland/Demos/WidgetGallery/GalleryWidget.cpp @@ -306,7 +306,7 @@ GalleryWidget::GalleryWidget() m_cursors_tableview->on_activation = [&](const GUI::ModelIndex& index) { auto icon_index = index.model()->index(index.row(), MouseCursorModel::Column::Bitmap); - window()->set_cursor(icon_index.data().as_bitmap()); + m_cursors_tableview->set_override_cursor(NonnullRefPtr<Gfx::Bitmap>(icon_index.data().as_bitmap())); }; auto& icons_tab = tab_widget.add_tab<GUI::Widget>("Icons"); |