mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
Fix redo action sensitivity for non-editor undo stack changes.
This commit is contained in:
parent
9c102fa8d2
commit
24142a424e
1 changed files with 2 additions and 0 deletions
|
|
@ -3534,8 +3534,10 @@ Editor::history_changed ()
|
|||
if (redo_action && _session) {
|
||||
if (_session->redo_depth() == 0) {
|
||||
label = _("Redo");
|
||||
redo_action->set_sensitive (false);
|
||||
} else {
|
||||
label = string_compose(_("Redo (%1)"), _session->next_redo());
|
||||
redo_action->set_sensitive (true);
|
||||
}
|
||||
redo_action->property_label() = label;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue