fix: prepend_closable_tab appending tabs
It should prepend the tabs instead of appending it. 🤦
pull/9/head
parent
d54f470a76
commit
2ec23a35d5
|
@ -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 |_| {
|
||||
|
|
Loading…
Reference in New Issue