Skip to content

Commit

Permalink
Merge pull request #27 from jmespadero/patch-2
Browse files Browse the repository at this point in the history
Auto apply changes to configuration when changing configuration file or screen in UI (no need to press Load anymore)
  • Loading branch information
PyrApple committed Feb 13, 2016
2 parents b90784b + 8058883 commit 173e37f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/blendervr/console/qt/console.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ def __init__(self):
self._console_ui.link_processor_to_blender.toggled.connect(
self.cb_set_link_processor_to_blender)
self._console_ui.set_screen_set.clicked.connect(self.cb_set_screen_set)
self._console_ui.select_screen_set.currentIndexChanged.connect(self.cb_set_screen_set)
self._console_ui.menuProcessor.triggered.connect(
self.cb_processor_window)

Expand Down Expand Up @@ -171,6 +172,7 @@ def cb_set_configuration_file(self):
file_name = file_name[0]
if file_name:
self._console_ui.configuration_file.setText(file_name)
self.cb_load_configuration_file()

def _get_configuration_paths_list(self):
paths = self.profile.getValue(['config', 'path'])
Expand Down

0 comments on commit 173e37f

Please sign in to comment.