← Back to team overview

bashareteam team mailing list archive

[Bug 483548] Re: Decrease bandwidth from menu

 

I'm not proposing you add variables, I'm proposing you don't recalculate
a value that you already have.

Why don't you do something like
    ME.labBand.text = Vbanda & " KB/s"
instead of 
    ME.labBand.text = (Impostazioni.Calc_banda(pausa)) & " KB/s"

You already have the value of the band (either Vbanda +10, or MaxBanda),
so just reuse it to display.

-- 
Decrease bandwidth from menu
https://bugs.launchpad.net/bugs/483548
You received this bug notification because you are a member of BaShare
Team, which is subscribed to BaShare.

Status in BaShare, an easy to use http server with a gui: Fix Committed

Bug description:
When I select the Decrease bandwidth from the menu, it will decrease the speed with 11KB/s instead of 10KB/s.
appeared:
0.4.996-RC5
0.5.0




References