Fixed several small bugs with saving config values
svn: r598
This commit is contained in:
parent
2d11160e24
commit
6d2a821933
@ -188,6 +188,9 @@ def loadConfig(call):
|
|||||||
global web_dir
|
global web_dir
|
||||||
global db_dir
|
global db_dir
|
||||||
global status_bar
|
global status_bar
|
||||||
|
global mediaref
|
||||||
|
global globalprop
|
||||||
|
global localprop
|
||||||
|
|
||||||
_callback = call
|
_callback = call
|
||||||
lastfile = get_string("/gramps/data/LastFile")
|
lastfile = get_string("/gramps/data/LastFile")
|
||||||
|
@ -172,7 +172,7 @@ class MediaView:
|
|||||||
os.execvp(const.editor,[const.editor, self.obj.getPath()])
|
os.execvp(const.editor,[const.editor, self.obj.getPath()])
|
||||||
|
|
||||||
def popup_convert_to_private(self, obj):
|
def popup_convert_to_private(self, obj):
|
||||||
name = RelImage.import_media_object(self.obj.getPath(),self.path,self.obj.getId())
|
name = RelImage.import_media_object(self.obj.getPath(),self.db.getSavePath(),self.obj.getId())
|
||||||
self.obj.setPath(name)
|
self.obj.setPath(name)
|
||||||
self.obj.setLocal(1)
|
self.obj.setLocal(1)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user