Options/Tabs, “numericUpDown” boxes, small improvement.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Fix Released
|
Low
|
James Ross |
Bug Description
This is a small improvement for Options / Tabs.
When any of the following options: Distant mountains, Advanced adhesion model, Log train speed, Automatically tune settings to keep performance level, were checked or unchecked, their “numericUpDown” boxes always stay enabled.
This patch, modifies the current, “numericUpDown” box and his label, “Enabled” state according to option “Checked” state.
Following, is a list of different tab's option menu items, included in this patch.
Options tab:
Video:
--Distant mountains [checkDistantMo
----Viewing distance (km) [numericDistant
Simulation:
--Advanced adhesion model [checkUseAdvanc
----Adhesion moving average filter size [numericAdhesio
Evaluation
--Log train speed [checkDataLogTr
----Interval (sec) [numericDataLog
----checkListData [checkListDataL
Experimental
--Automatically tune settings to keep performance level [checkPerforman
----target frame rate [numericPerform
To enable or disable each one of listed “numericUpDown” boxes, we have to add a new Click event for each of them.
It has also proceeded to rename the next labels to give them a better referenced name:
- label11 = labelDistantMou
- label12 = labelAdhesionMo
- label13 = labelPerformanc
Attached is the proposed modification patch.
Changed in or: | |
assignee: | nobody → James Ross (twpol) |
status: | New → Triaged |
importance: | Undecided → Low |
milestone: | none → 1.1 |
status: | Triaged → In Progress |
Changed in or: | |
status: | Fix Committed → Fix Released |
Thanks for the patch! This has been included in Open Rails version X3367.