From 07b1ab8a2bca42e6256c6dd481b7065a4c522e2e Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 27 Jul 2017 21:24:10 +1000 Subject: [PATCH] Revert "ResolutionsPage: set report rate for all resolutions" This reverts commit 4a61aa9b975807c974f0b0720a807324f09453ca. --- piper/resolutionspage.py | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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):