Skip to content

Commit

Permalink
doh: auto-refresh-delay is stored as a float
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Jan 7, 2025
1 parent f184be2 commit c712de5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/gtk/configure/encodings.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def do_populate(self, config):
self.add_widget(Gtk.Separator(orientation=Gtk.Orientation.HORIZONTAL))
self.add_widget(label("Auto Refresh Delay (milliseconds)", font="Sans 14"))
self.add_widget(label("Longer delays may become noticeable but save bandwidth"))
adjust = Gtk.Adjustment(value=config.auto_refresh_delay, lower=0, upper=1000,
adjust = Gtk.Adjustment(value=round(config.auto_refresh_delay * 1000), lower=0, upper=1000,
step_increment=50, page_increment=0, page_size=0)
scale = make_scale(adjust, {
0: "Disabled",
Expand Down

0 comments on commit c712de5

Please sign in to comment.