summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/xml-editor.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/dialog/xml-editor.h')
-rw-r--r--src/ui/dialog/xml-editor.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/ui/dialog/xml-editor.h b/src/ui/dialog/xml-editor.h
index b494ade1f..65f25423f 100644
--- a/src/ui/dialog/xml-editor.h
+++ b/src/ui/dialog/xml-editor.h
@@ -22,10 +22,11 @@ namespace Dialog {
class XmlEditor : public Dialog {
public:
- XmlEditor();
+ XmlEditor(Behavior::BehaviorFactory behavior_factory);
virtual ~XmlEditor();
- static XmlEditor *create() { return new XmlEditor(); }
+ static XmlEditor *create(Behavior::BehaviorFactory behavior_factory)
+ { return new XmlEditor(behavior_factory); }
protected: