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