summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-22 21:57:26 +0000
committerDavid Robillard <d@drobilla.net>2012-04-22 21:57:26 +0000
commite7d3b4f9d1dccad555dbab228c2a71ac6c3206ef (patch)
treec86d579c3546844237054b334ba5103f5994e317
parentc9719b15e029c346122c6b94482513c35dc4c480 (diff)
downloadingen-e7d3b4f9d1dccad555dbab228c2a71ac6c3206ef.tar.gz
ingen-e7d3b4f9d1dccad555dbab228c2a71ac6c3206ef.tar.bz2
ingen-e7d3b4f9d1dccad555dbab228c2a71ac6c3206ef.zip
Fix editing string properties from properties window.
git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@4241 a436a847-0d15-0410-975c-d299462d15a1
-rw-r--r--src/gui/PropertiesWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/PropertiesWindow.cpp b/src/gui/PropertiesWindow.cpp
index 4e0bdce8..5294a5cf 100644
--- a/src/gui/PropertiesWindow.cpp
+++ b/src/gui/PropertiesWindow.cpp
@@ -247,7 +247,7 @@ PropertiesWindow::value_edited(const Raul::URI& predicate)
} else if (type == forge.String) {
Gtk::Entry* widget = dynamic_cast<Gtk::Entry*>(record.value_widget->get_child());
if (!widget) goto bad_type;
- record.value = _app->forge().alloc_uri(widget->get_text());
+ record.value = _app->forge().alloc(widget->get_text());
}
return;