summaryrefslogtreecommitdiffstats
path: root/src/gui/ObjectMenu.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2013-03-25 00:34:26 +0000
committerDavid Robillard <d@drobilla.net>2013-03-25 00:34:26 +0000
commit29c8bfe6d5a9bce0df87176ccd8ac1b1d7db6002 (patch)
tree62994873f942498e1dedf5f6e5ad7609a8f468ba /src/gui/ObjectMenu.hpp
parentc3aca5cef2df7ed6929636b38d116442f6e8f3bd (diff)
downloadingen-29c8bfe6d5a9bce0df87176ccd8ac1b1d7db6002.tar.gz
ingen-29c8bfe6d5a9bce0df87176ccd8ac1b1d7db6002.tar.bz2
ingen-29c8bfe6d5a9bce0df87176ccd8ac1b1d7db6002.zip
Fix preset loading.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5101 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gui/ObjectMenu.hpp')
-rw-r--r--src/gui/ObjectMenu.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gui/ObjectMenu.hpp b/src/gui/ObjectMenu.hpp
index fc63c7a8..d3ed647e 100644
--- a/src/gui/ObjectMenu.hpp
+++ b/src/gui/ObjectMenu.hpp
@@ -44,6 +44,9 @@ public:
void init(App& app, SPtr<const Client::ObjectModel> object);
+ SPtr<const Client::ObjectModel> object() const { return _object; }
+ App* app() const { return _app; }
+
protected:
void on_menu_learn();
void on_menu_unlearn();