Method: Ig3tool::InterneWindow#refresh
- Defined in:
- lib/ui/interne.rb
#refresh(widget) ⇒ Object
59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/ui/interne.rb', line 59 def refresh() from = @from.active fromusername = @internes[from-1].username setaction(from, @to.active) _update_debuggers_nothread @from.active = from puts "DEBUG: #{fromusername}" interne = $client.interne(fromusername) @saldo.text = interne.saldo.from_c.to_s unless from == 0 @saldo.text = "unlimited moneyz" if from == 0 if from == 0 _update_transactions else _update_transactions(fromusername) end end |