Skip to content

Commit

Permalink
Add comments
Browse files Browse the repository at this point in the history
  • Loading branch information
cfobel committed Sep 25, 2016
1 parent 17e8414 commit e7ef5ea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions microdrop/gui/dmf_device_controller.py
Original file line number Diff line number Diff line change
Expand Up @@ -318,13 +318,16 @@ def _set_up_gui_elements():
app.signals["on_menu_save_dmf_device_activate"] = self.on_save_dmf_device
app.signals["on_menu_save_dmf_device_as_activate"] = self.on_save_dmf_device_as
app.signals["on_event_box_dmf_device_size_allocate"] = self.on_size_allocate

# Load plugin options.
app.dmf_device_controller = self
defaults = self.get_default_app_options()
data = app.get_data(self.name)
for k, v in defaults.items():
if k not in data:
data[k] = v
app.set_data(self.name, data)
# Notify plugins that new options have been applied.
emit_signal('on_app_options_changed', [self.name])

def stop_recording(self):
Expand Down

0 comments on commit e7ef5ea

Please sign in to comment.