Handle redraw of the display after a tool is run
svn: r1489
This commit is contained in:
parent
3722a9e9dd
commit
10ef7810a7
@ -641,6 +641,7 @@ class Gramps:
|
|||||||
def tool_callback(self,val):
|
def tool_callback(self,val):
|
||||||
if val:
|
if val:
|
||||||
Utils.modified()
|
Utils.modified()
|
||||||
|
self.alpha_page = {}
|
||||||
self.full_update()
|
self.full_update()
|
||||||
|
|
||||||
def full_update(self):
|
def full_update(self):
|
||||||
@ -1540,6 +1541,7 @@ class Gramps:
|
|||||||
"""Call the import plugin"""
|
"""Call the import plugin"""
|
||||||
plugin_function(self.db,self.active_person,self.tool_callback)
|
plugin_function(self.db,self.active_person,self.tool_callback)
|
||||||
self.topWindow.set_title("%s - GRAMPS" % self.db.getSavePath())
|
self.topWindow.set_title("%s - GRAMPS" % self.db.getSavePath())
|
||||||
|
self.full_update()
|
||||||
|
|
||||||
def on_preferences_activate(self,obj):
|
def on_preferences_activate(self,obj):
|
||||||
GrampsCfg.display_preferences_box(self.db)
|
GrampsCfg.display_preferences_box(self.db)
|
||||||
|
Loading…
Reference in New Issue
Block a user