aboutsummaryrefslogtreecommitdiffstats
path: root/src/gui/NodeView.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-01-14 09:10:26 +0000
committerDavid Robillard <d@drobilla.net>2013-01-14 09:10:26 +0000
commite9bb96bf484a9b415ba690131300134570099567 (patch)
treed6575e578127c006d4a514b62a2e21c95e4689ce /src/gui/NodeView.cpp
parent363eff1806154d5dae2a8374ef80e8319ab53e91 (diff)
downloadmachina-e9bb96bf484a9b415ba690131300134570099567.tar.gz
machina-e9bb96bf484a9b415ba690131300134570099567.tar.bz2
machina-e9bb96bf484a9b415ba690131300134570099567.zip
Make duration spinner in properties dialog functional.
git-svn-id: http://svn.drobilla.net/lad/trunk/machina@4986 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/NodeView.cpp')
-rw-r--r--src/gui/NodeView.cpp3
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;
}