Browse Source

Merge pull request #163 from sodwyer/crashfix

fix crash when using subparsers
pull/167/head
Chris 8 years ago
committed by GitHub
parent
commit
eb736918a9
1 changed files with 2 additions and 2 deletions
  1. 4
      gooey/gui/presenter.py

4
gooey/gui/presenter.py

@ -93,8 +93,8 @@ class Presenter(object):
self.view.freeze() self.view.freeze()
self.view.required_section.clear() self.view.required_section.clear()
self.view.optional_section.clear() self.view.optional_section.clear()
self.view.required_section.populate(self.model.required_args)
self.view.optional_section.populate(self.model.optional_args)
self.view.required_section.populate(self.model.required_args, self.model.num_required_cols)
self.view.optional_section.populate(self.model.optional_args, self.model.num_optional_cols)
getattr(self, self.model.current_state)() getattr(self, self.model.current_state)()
self.view.thaw() self.view.thaw()

Loading…
Cancel
Save