Merge pull request #653 from vssdeo/bug-652-loading-layout-loads-the-last-added-layout
- bug context menu (right click)->layouts->"Layout Name" always selec…
This commit is contained in:
commit
af1ec64c93
@ -252,5 +252,5 @@ class TerminalPopupMenu(object):
|
||||
layouts = self.config.list_layouts()
|
||||
for layout in layouts:
|
||||
item = Gtk.MenuItem(layout)
|
||||
item.connect('activate', lambda x: spawn_new_terminator(self.terminator.origcwd, ['-u', '-l', layout]))
|
||||
item.connect('activate', lambda x: spawn_new_terminator(self.terminator.origcwd, ['-u', '-l', x.get_label()]))
|
||||
submenu.append(item)
|
||||
|
Loading…
Reference in New Issue
Block a user