AppCore:compose() with a parent.

This commit is contained in:
Kolan Sh 2016-04-04 03:00:47 +03:00
parent 1f20d383b9
commit 4092f9dffe
1 changed files with 1 additions and 1 deletions

View File

@ -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,