Incorrect layout sorting in notebook

This commit is contained in:
MuhammadJivani 2021-06-22 22:42:16 +05:00
parent f4a3c4e3ad
commit c583efbd50

View File

@ -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