AppCore:compose() with a parent.
This commit is contained in:
parent
1f20d383b9
commit
4092f9dffe
|
@ -166,7 +166,7 @@ namespace LAview.Desktop {
|
||||||
var t_indices = get_template_indices ();
|
var t_indices = get_template_indices ();
|
||||||
var o_indices = get_objects_indices ();
|
var o_indices = get_objects_indices ();
|
||||||
if (t_indices.length != 0 && o_indices.length != 0)
|
if (t_indices.length != 0 && o_indices.length != 0)
|
||||||
AppCore.core.compose_object (t_indices[0], o_indices[0]);
|
AppCore.core.compose_object (window, t_indices[0], o_indices[0]);
|
||||||
statusbar_show (_("After composing all objects print the document."));
|
statusbar_show (_("After composing all objects print the document."));
|
||||||
} catch (Error err) {
|
} catch (Error err) {
|
||||||
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
|
var msg = new MessageDialog (window, DialogFlags.MODAL, MessageType.ERROR,
|
||||||
|
|
Loading…
Reference in New Issue