From 58fd36cfb445a580f3613291756f80b1ec8f376b Mon Sep 17 00:00:00 2001 From: monsta Date: Mon, 29 Feb 2016 15:37:03 +0300 Subject: prefs dialog: fix refresh rate not saving in some cases from https://git.gnome.org/browse/gnome-system-monitor/commit/?id=abc1f5b47efa2dcd5f0e9c378283e9d9e6ac9fdf cases are described in https://bugzilla.gnome.org/show_bug.cgi?id=543315 --- src/procdialogs.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/procdialogs.cpp b/src/procdialogs.cpp index 7789059..bc92929 100644 --- a/src/procdialogs.cpp +++ b/src/procdialogs.cpp @@ -336,6 +336,7 @@ public: static gboolean callback(GtkWidget *widget, GdkEventFocus *event, gpointer data) { SpinButtonUpdater* updater = static_cast(data); + gtk_spin_button_update(GTK_SPIN_BUTTON(widget)); updater->update(GTK_SPIN_BUTTON(widget)); return FALSE; } -- cgit v1.2.1