Skip to content

Commit

Permalink
Open LogWindow on keypress
Browse files Browse the repository at this point in the history
  • Loading branch information
fism88 committed Aug 5, 2013
1 parent 800509e commit b4abf74
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions lib/shoes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -111,3 +111,4 @@ def gem(name)
require 'shoes/timer'
require 'shoes/url'
require 'shoes/widget'
require 'shoes/log_window'
2 changes: 1 addition & 1 deletion lib/shoes/swt/app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ def attach_shell_event_listeners
blk = proc { |key|
if key == :"control_/"
puts "test"
#::Shoes::LogWindow.setup(self)
::Shoes::LogWindow.setup(self)
end
}
@shell.add_key_listener(::Shoes::Swt::KeyListener.new(blk))
Expand Down

0 comments on commit b4abf74

Please sign in to comment.