diff --git a/package/yast2-samba-server.changes b/package/yast2-samba-server.changes index 50331f9..fdef0e5 100644 --- a/package/yast2-samba-server.changes +++ b/package/yast2-samba-server.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Mar 11 10:00:37 UTC 2020 - Knut Anderssen + +- Fix check of connected users when proposing the default service + action (bsc#1166303) +- 4.2.4 + ------------------------------------------------------------------- Thu Mar 5 13:59:38 UTC 2020 - Knut Anderssen diff --git a/package/yast2-samba-server.spec b/package/yast2-samba-server.spec index 7f8c690..f1a7944 100644 --- a/package/yast2-samba-server.spec +++ b/package/yast2-samba-server.spec @@ -1,7 +1,7 @@ # # spec file for package yast2-samba-server # -# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany. +# Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -17,7 +17,7 @@ Name: yast2-samba-server -Version: 4.2.3 +Version: 4.2.4 Release: 0 Url: https://github.com/yast/yast-samba-server Summary: YaST2 - Samba Server Configuration diff --git a/src/include/samba-server/dialogs.rb b/src/include/samba-server/dialogs.rb index b772354..d2c21c0 100644 --- a/src/include/samba-server/dialogs.rb +++ b/src/include/samba-server/dialogs.rb @@ -102,7 +102,7 @@ def initialize_samba_server_dialogs(include_target) def service_widget return @service_widget if @service_widget @service_widget = ::CWM::ServiceWidget.new(services) - @service_widget.default_action = :restart if need_to_restart? && !connected_users + @service_widget.default_action = :restart if need_to_restart? && !connected_users? @service_widget end