Reset buttons when we reset the buffer
svn: r15778
This commit is contained in:
@@ -398,6 +398,8 @@ class StyledTextEditor(gtk.TextView):
|
|||||||
Reset the undoable buffer
|
Reset the undoable buffer
|
||||||
"""
|
"""
|
||||||
self.textbuffer.reset()
|
self.textbuffer.reset()
|
||||||
|
self.undo_action.set_sensitive(False)
|
||||||
|
self.redo_action.set_sensitive(False)
|
||||||
|
|
||||||
# private methods
|
# private methods
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user