Skip to content

Commit

Permalink
Version 0.4.2: Improved update project list
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrouwer committed Sep 2, 2015
1 parent a4d219e commit d94b41e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/opensourceBIM/BIMserver/profile_window.rb
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ def initialize()
# check if window is ready
@window.on( :ready ) {
@ready = true
get_projects()
}

# Add controls
Expand Down Expand Up @@ -95,19 +96,22 @@ def initialize()

# Control: projects listbox
@project = SKUI::Listbox.new( [@profile_edit.project] )
#get_projects()
add_control(@project, @group, 'project')

@address.on( :change ) { |control, value|
@profile_edit.address = @address.value
get_projects()
}
@port.on( :change ) { |control, value|
@profile_edit.port = @port.value
get_projects()
}
@username.on( :change ) { |control, value|
@profile_edit.username = @username.value
get_projects()
}
@password.on( :change ) { |control, value|
@profile_edit.password = @password.value
get_projects()
}

Expand Down

0 comments on commit d94b41e

Please sign in to comment.