Check if history exists before discarding

This commit is contained in:
kobewi
2024-02-05 17:42:37 +01:00
parent f427d2f0d3
commit 808f4e8cb9
3 changed files with 8 additions and 1 deletions

View File

@@ -130,6 +130,7 @@ public:
bool is_history_unsaved(int p_idx);
bool has_undo();
bool has_redo();
bool has_history(int p_idx) const;
String get_current_action_name();
int get_current_action_history_id();