mirror of
https://github.com/robmcmullen/atrcopy.git
synced 2024-11-29 11:51:14 +00:00
set _search_copy in segment so restoring using __setstate__ will have that attribute
This commit is contained in:
parent
b3e5005b56
commit
19b90e9305
@ -152,12 +152,12 @@ class DefaultSegment(object):
|
||||
self.verbose_name = verbose_name
|
||||
self.page_size = -1
|
||||
self.map_width = 40
|
||||
self._search_copy = None
|
||||
|
||||
def set_raw(self, rawdata):
|
||||
self.rawdata = rawdata
|
||||
self.data = rawdata.get_data()
|
||||
self.style = rawdata.get_style()
|
||||
self._search_copy = None
|
||||
|
||||
def get_raw(self):
|
||||
return self.rawdata
|
||||
|
Loading…
Reference in New Issue
Block a user