Commit c17fd0f0 authored by Alexandru Băluț's avatar Alexandru Băluț

undo: Enable undo/redo in devel

Required to be able to test the fixes which seem to be many.

Differential Revision:
parent 6743d1d0
......@@ -29,7 +29,7 @@ from gi.repository import Gio
from gi.repository import Gtk
from gi.repository import Gst
from pitivi.configure import VERSION, RELEASES_URL
from pitivi.configure import VERSION, RELEASES_URL, in_devel
from pitivi.dialogs.startupwizard import StartUpWizard
from pitivi.effects import EffectsManager
from pitivi.mainwindow import PitiviMainWindow
......@@ -358,7 +358,7 @@ class Pitivi(Gtk.Application, Loggable):
def _syncDoUndo(self, action_log):
can_undo = bool(action_log.undo_stacks)
# TODO: Remove this once we revisit undo/redo T3360
can_undo = False
can_undo = in_devel()
can_redo = bool(action_log.redo_stacks)
......@@ -447,9 +447,10 @@ class PitiviMainWindow(Gtk.ApplicationWindow, Loggable):
self.render_button.connect("clicked", self._renderCb)
# TODO: Add these back once we revisit undo/redo T3360
# self._headerbar.pack_start(undo_button)
# self._headerbar.pack_start(redo_button)
# self._headerbar.pack_start(separator)
if in_devel():
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment