Skip to content

Commit

Permalink
Import Yast::CWM when needed
Browse files Browse the repository at this point in the history
previously this benefited from an import done by CustomWidget
  • Loading branch information
mvidner committed May 15, 2017
1 parent a4dbdb0 commit eb086f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions library/cwm/src/lib/cwm/widget.rb
Expand Up @@ -363,6 +363,7 @@ class ReplacePoint < CustomWidget
# system
# @param widget [CWM::AbstractWidget] initial widget in placeholder
def initialize(id: "_placeholder", widget: Empty.new("_initial_placeholder"))
Yast.import "CWM"
self.handle_all_events = true
self.widget_id = id
@widget = widget
Expand Down

0 comments on commit eb086f5

Please sign in to comment.