- bug context menu (right click)->layouts->"Layout Name" always selects the last Layout
- fixed so the right layout is picked and loaded
This commit is contained in:
parent
7b39058b0e
commit
e7f9c731e8
|
@ -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