Skip to content

Commit

Permalink
Merge pull request #127 from jpgill86/epoch-encoder-new-label-button
Browse files Browse the repository at this point in the history
Add button for creating new labels to the EpochEncoder toolbar
  • Loading branch information
jpgill86 committed Jan 12, 2021
2 parents 58ea13f + edc4a00 commit 46f1ce9
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion ephyviewer/epochencoder.py
Original file line number Diff line number Diff line change
Expand Up @@ -130,8 +130,8 @@ def __init__(self, **kargs):
self.label_shortcuts = {}

self.make_params()
self.set_layout()
self.make_param_controller()
self.set_layout()

self.viewBox.doubleclicked.connect(self.show_params_controller)

Expand Down Expand Up @@ -321,6 +321,8 @@ def set_layout(self):

self.toolbar.addAction('Options', self.show_params_controller)

self.toolbar.addAction('New label', self.params_controller.create_new_label)

self.toolbar.addAction('Merge neighbors', self.on_merge_neighbors)

self.toolbar.addAction('Fill blank', self.on_fill_blank)
Expand Down

0 comments on commit 46f1ce9

Please sign in to comment.