fix: prepend_closable_tab appending tabs

It should prepend the tabs instead of appending it. 🤦
pull/9/head
Nefo Fortressia 2021-11-06 17:00:11 +07:00
parent d54f470a76
commit 2ec23a35d5
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ impl ClosableTabImplementedNotebook for gtk::Notebook {
tab_label: Option<&U>,
) -> u32 {
let (tab, button) = &Self::create_closable_tab(tab_label);
let page = self.append_page(child, Some(tab));
let page = self.prepend_page(child, Some(tab));
button.connect_clicked(glib::clone!(@weak self as notebook =>
move |_| {