aboutsummaryrefslogtreecommitdiffstats
path: root/core/plugin/change_account/change_account.rb
diff options
context:
space:
mode:
Diffstat (limited to 'core/plugin/change_account/change_account.rb')
-rw-r--r--core/plugin/change_account/change_account.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/plugin/change_account/change_account.rb b/core/plugin/change_account/change_account.rb
index dfe0f8f2..80472b25 100644
--- a/core/plugin/change_account/change_account.rb
+++ b/core/plugin/change_account/change_account.rb
@@ -54,7 +54,7 @@ Plugin.create :change_account do
btn_add = Gtk::Button.new(Gtk::Stock::ADD)
btn_delete = Gtk::Button.new(Gtk::Stock::DELETE)
btn_add.ssc(:clicked) do
- boot_wizard
+ Plugin.call(:request_world_add)
true
end
btn_delete.ssc(:clicked) do
@@ -70,7 +70,7 @@ Plugin.create :change_account do
add(btn_add)))
end
- def boot_wizard
+ on_request_world_add do
dialog(_('アカウント追加')){
select 'Select world', :world do
worlds, = Plugin.filtering(:world_setting_list, Hash.new)