This is an automated email from the git hooks/post-receive script.

omegaphil pushed a 
commit to branch 
master
in repository panel-plugins/xfce4-hardware-monitor-plugin.

commit 1ccfb0f151888370b9bbc0729c5770fa93c416da
Author: OmegaPhil <[email protected]>
Date:   Sun Dec 17 21:29:24 2017 +0000

    Fix monitor type sync checkbutton initialisation
---
 src/preferences-window.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/preferences-window.cpp b/src/preferences-window.cpp
index c2d277d..8b2662b 100644
--- a/src/preferences-window.cpp
+++ b/src/preferences-window.cpp
@@ -268,8 +268,8 @@ PreferencesWindow::PreferencesWindow(Plugin &plugin_, 
monitor_seq monitors)
   }
 
   // Monitor scale sharing per type in the view
-  if (plugin.get_viewer_monitor_type_sync_enabled())
-      monitor_type_sync_checkbutton->set_active();
+  monitor_type_sync_checkbutton->set_active(
+        plugin.get_viewer_monitor_type_sync_enabled());
 
   // Make sure background colorbutton is grayed out
   background_color_radiobutton->toggled();

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to