Patch from Raphael Ackermann <raphael.ackermann@gmail.com> -- Fix 0001538: tabs and spaces are mixed in some source files
svn: r9713
This commit is contained in:
@@ -51,7 +51,7 @@ class TextTab(GrampsTab):
|
||||
|
||||
def __init__(self, dbstate, uistate, track, obj, title=_('Text')):
|
||||
self.obj = obj
|
||||
self.original = self.obj.get_text()
|
||||
self.original = self.obj.get_text()
|
||||
GrampsTab.__init__(self, dbstate, uistate, track, title)
|
||||
self.show_all()
|
||||
|
||||
@@ -109,4 +109,4 @@ class TextTab(GrampsTab):
|
||||
self._set_label()
|
||||
|
||||
def cancel(self):
|
||||
self.obj.set_text(self.original)
|
||||
self.obj.set_text(self.original)
|
||||
|
||||
Reference in New Issue
Block a user