mirror of
https://github.com/linuxmint/timeshift.git
synced 2024-09-11 08:55:25 +03:00
Filter: Save changes immediately after adding pattern; and before clicking Summary
This commit is contained in:
parent
55870b94d1
commit
094317e7d0
@ -233,6 +233,8 @@ class ExcludeBox : Gtk.Box{
|
|||||||
treeview_add_item(treeview, pattern); // don't strip
|
treeview_add_item(treeview, pattern); // don't strip
|
||||||
Main.first_snapshot_size = 0; //re-calculate
|
Main.first_snapshot_size = 0; //re-calculate
|
||||||
}
|
}
|
||||||
|
|
||||||
|
save_changes();
|
||||||
});
|
});
|
||||||
|
|
||||||
button = add_button(hbox, _("Add Files"), _("Add files"), size_group, null);
|
button = add_button(hbox, _("Add Files"), _("Add files"), size_group, null);
|
||||||
@ -262,6 +264,7 @@ class ExcludeBox : Gtk.Box{
|
|||||||
|
|
||||||
button = add_button(hbox, _("Summary"), "", size_group, null);
|
button = add_button(hbox, _("Summary"), "", size_group, null);
|
||||||
button.clicked.connect(()=>{
|
button.clicked.connect(()=>{
|
||||||
|
save_changes();
|
||||||
new ExcludeListSummaryWindow(false);
|
new ExcludeListSummaryWindow(false);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user