Revert "ResolutionsPage: set report rate for all resolutions"

This reverts commit 4a61aa9b97.
This commit is contained in:
Peter Hutterer
2017-07-27 21:24:10 +10:00
committed by GitHub
parent aa402e60d9
commit 07b1ab8a2b

View File

@@ -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):