Skip to content

Commit

Permalink
GUIFormSpecMenu::OnEvent code style update and small refactor
Browse files Browse the repository at this point in the history
* Make method (more) consistent with current code stlye
* Move index into loop constructor after @rubenwardy's suggestion
* Cache inv_s->getList(s.listname), which removes a possibly bad scenario
of inv_s being null.
* Properly check for validity
  • Loading branch information
est31 committed Jun 16, 2015
1 parent 7b7f8b7 commit 7a90b31
Showing 1 changed file with 79 additions and 86 deletions.

0 comments on commit 7a90b31

Please sign in to comment.