mirror of
https://codeberg.org/StreamGraph/StreamGraph.git
synced 2024-11-13 19:49:55 +01:00
fix opening recent decks with shortened paths
This commit is contained in:
parent
6c804851a7
commit
aff31ce442
1 changed files with 1 additions and 1 deletions
|
@ -100,7 +100,7 @@ func _on_file_id_pressed(id: int) -> void:
|
||||||
FileMenuId.CLOSE:
|
FileMenuId.CLOSE:
|
||||||
close_current_tab()
|
close_current_tab()
|
||||||
_ when id in range(FileMenuId.RECENTS, FileMenuId.RECENTS + max_recents + 1):
|
_ 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.
|
## Adds an empty [DeckRendererGraphEdit] with a corresponding [Deck] for it's data.
|
||||||
func add_empty_deck() -> void:
|
func add_empty_deck() -> void:
|
||||||
|
|
Loading…
Reference in a new issue