diff --git a/graph_node_renderer/deck_holder_renderer.gd b/graph_node_renderer/deck_holder_renderer.gd index fa6fe2a..b95072c 100644 --- a/graph_node_renderer/deck_holder_renderer.gd +++ b/graph_node_renderer/deck_holder_renderer.gd @@ -100,7 +100,7 @@ func _on_file_id_pressed(id: int) -> void: FileMenuId.CLOSE: close_current_tab() _ when id in range(FileMenuId.RECENTS, FileMenuId.RECENTS + max_recents + 1): - open_deck_at_path(file_popup_menu.get_item_text(id)) + open_deck_at_path(recent_files[id - FileMenuId.RECENTS - 1]) ## Adds an empty [DeckRendererGraphEdit] with a corresponding [Deck] for it's data. func add_empty_deck() -> void: