diff options
Diffstat (limited to 'src/gui/NodeView.cpp')
-rw-r--r-- | src/gui/NodeView.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/NodeView.cpp b/src/gui/NodeView.cpp index e8364ec..e4e4faa 100644 --- a/src/gui/NodeView.cpp +++ b/src/gui/NodeView.cpp @@ -68,7 +68,8 @@ NodeView::~NodeView() bool NodeView::on_double_click(GdkEventButton*) { - NodePropertiesWindow::present(_window, _node); + MachinaCanvas* canvas = dynamic_cast<MachinaCanvas*>(this->canvas()); + NodePropertiesWindow::present(canvas->app(), _window, _node); return true; } |