Bottom progress window size isnt saved on restart
Bug #217082 reported by
jordys
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
DC++ |
Fix Released
|
Wishlist
|
Unassigned |
Bug Description
When I resize the bottom window (on the latest DC++ on Vista) that shows the downloads, uploads etc, and make it smaller, that size is not saved on restart. This is quite annoying because it opens too big by default.
Changed in dcplusplus: | |
importance: | Undecided → Wishlist |
status: | New → Confirmed |
Changed in dcplusplus: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
simple patch that saves the position of the main window splitter.
since that position is between 0 and 1, i multiply it by 1000 when saving it; the saved value is then divided by 1000 when being used. this offers a 3 digits precision, which is enough in my opinion.
if that method is correct, then the same should be done in other places of the program that also use splitters.