[yast-commit] [yast/yast-apparmor] 403ad5: Process profile change only if we have it selected
Branch: refs/heads/master Home: https://github.com/yast/yast-apparmor Commit: 403ad5c581a71ad50da6a8f4cf1a029104fa1acd https://github.com/yast/yast-apparmor/commit/403ad5c581a71ad50da6a8f4cf1a029... Author: Goldwyn Rodrigues <rgoldwyn@suse.com> Date: 2018-08-24 (Fri, 24 Aug 2018) Changed paths: M package/yast2-apparmor.changes M package/yast2-apparmor.spec M src/lib/apparmor/profiles.rb Log Message: ----------- Process profile change only if we have it selected The selected profile is the first in the list. However, if there are no active profiles, selected_item is nil. Check for selected_item before toggling the class. Signed-off-by: Goldwyn Rodrigues <rgoldwyn@suse.com> Commit: 8e6c81ad3f7284dcc61127febb5685d83848c749 https://github.com/yast/yast-apparmor/commit/8e6c81ad3f7284dcc61127febb5685d... Author: Josef Reidinger <jreidinger@suse.cz> Date: 2018-08-24 (Fri, 24 Aug 2018) Changed paths: M package/yast2-apparmor.changes M package/yast2-apparmor.spec M src/lib/apparmor/profiles.rb Log Message: ----------- Merge pull request #29 from goldwynr/check-if-selected Process profile change only if we have it selected Compare: https://github.com/yast/yast-apparmor/compare/b77b1ef5fd03...8e6c81ad3f72 **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/ Functionality will be removed from GitHub.com on January 31st, 2019.
participants (1)
-
GitHub