* src/DataViews/_MediaView.py (edit): Handle the exception.
svn: r6616
This commit is contained in:
parent
f724a1185b
commit
f3b4b14bc2
@ -1,4 +1,5 @@
|
||||
2006-05-10 Alex Roitman <shura@gramps-project.org>
|
||||
* src/DataViews/_MediaView.py (edit): Handle the exception.
|
||||
* src/plugins/BookReport.py (__init__): Fix url.
|
||||
* src/plugins/ChangeTypes.py (run_tool): Disable/enable signals.
|
||||
* src/plugins/ReorderIds.py (__init__): Disable/enable signals.
|
||||
|
@ -38,7 +38,8 @@ import ImgManip
|
||||
import const
|
||||
import Utils
|
||||
import Bookmarks
|
||||
|
||||
from Editors import EditMedia
|
||||
import Errors
|
||||
from QuestionDialog import QuestionDialog, ErrorDialog
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
@ -197,8 +198,10 @@ class MediaView(PageView.ListView):
|
||||
return
|
||||
|
||||
obj = self.dbstate.db.get_object_from_handle(handle)
|
||||
from Editors import EditMedia
|
||||
try:
|
||||
EditMedia(self.dbstate,self.uistate, [], obj)
|
||||
except Errors.WindowActiveError:
|
||||
pass
|
||||
|
||||
class DeleteMediaQuery:
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user