From c583efbd50baa6430c7e738527e385d3319462a7 Mon Sep 17 00:00:00 2001 From: MuhammadJivani Date: Tue, 22 Jun 2021 22:42:16 +0500 Subject: [PATCH] Incorrect layout sorting in notebook --- terminatorlib/notebook.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/terminatorlib/notebook.py b/terminatorlib/notebook.py index 9fe0d6bd..6911d428 100644 --- a/terminatorlib/notebook.py +++ b/terminatorlib/notebook.py @@ -78,8 +78,8 @@ class Notebook(Container, Gtk.Notebook): def create_layout(self, layout): """Apply layout configuration""" def child_compare(a, b): - order_a = children[a]['order'] - order_b = children[b]['order'] + order_a = int(children[a]['order']) + order_b = int(children[b]['order']) if (order_a == order_b): return 0