Skip to content

Commit

Permalink
tools: remove from favorites automatically
Browse files Browse the repository at this point in the history
Part-of: #209
  • Loading branch information
dbartolini committed Dec 6, 2024
1 parent 3b38176 commit ea54601
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tools/level_editor/project_store.vala
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,8 @@ public class ProjectStore
if (!_folders.has_key(parent_folder))
return;

remove_from_favorites(type, name);

// Remove from list store.
if (_list_store.iter_children(out child, null)) {
Value iter_name;
Expand Down Expand Up @@ -376,6 +378,8 @@ public class ProjectStore
if (!_folders.has_key(name))
return;

remove_from_favorites("<folder>", name);

// Remove from list store.
Gtk.TreeIter child;
if (_list_store.iter_children(out child, null)) {
Expand Down

0 comments on commit ea54601

Please sign in to comment.