diff --git a/piper/resolutionspage.py b/piper/resolutionspage.py index 9c7faa6..0ae6fb7 100644 --- a/piper/resolutionspage.py +++ b/piper/resolutionspage.py @@ -75,11 +75,7 @@ class ResolutionsPage(Gtk.Box): def _on_report_rate_toggled(self, button, rate): profile = self._device.active_profile - # TODO: currently no devices expose CAP_INDIVIDUAL_REPORT_RATE, but if - # so then we should check for this here and set it only on the relevant - # resolution. - for resolution in profile.resolutions: - resolution.report_rate = rate + profile.active_resolution.report_rate = rate @GtkTemplate.Callback def _on_row_activated(self, listbox, row):