Procházet zdrojové kódy

tools: fix resources in the root not being revealed

Daniele Bartolini před 1 rokem
rodič
revize
9829fb7bd2
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      tools/level_editor/project_browser.vala

+ 1 - 1
tools/level_editor/project_browser.vala

@@ -789,7 +789,7 @@ public class ProjectBrowser : Gtk.Bin
 			_tree_view.get_selection().select_path(sort_path);
 			_tree_view.scroll_to_cell(sort_path, null, false, 0.0f, 0.0f);
 			_icon_view.reveal(type, name);
-		} while (filter_path == null && parent_name != "");
+		} while (filter_path == null);
 	}
 
 	private void on_reveal(GLib.SimpleAction action, GLib.Variant? param)