Changeset 280:dd27e12fb322 for source
- Timestamp:
- Aug 15, 2011, 8:00:25 PM (13 years ago)
- Branch:
- default
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
source/class/pf/Application.js
r279 r280 438 438 this.gui_locked = true; 439 439 440 // make sure GUI does not remain locked forever...440 // Make sure GUI does not remain locked forever... 441 441 try { 442 442 if (this.prefs.currentConfigName) { … … 462 462 this.gui_B.setNumValue(this.plasma.B); 463 463 464 this.gui_n_u.setValue(this.plasma.n_u); 465 this.gui_n_l.setValue(this.plasma.n_l); 464 // Make sure n_u > n_l holds during update 465 if (this.gui_n_l.getValue() >= this.plasma.n_u) { 466 this.gui_n_l.setValue(this.plasma.n_l); 467 this.gui_n_u.setValue(this.plasma.n_u); 468 } else { 469 this.gui_n_u.setValue(this.plasma.n_u); 470 this.gui_n_l.setValue(this.plasma.n_l); 471 } 466 472 467 473 // Update the currently selected entity
Note: See TracChangeset
for help on using the changeset viewer.