summaryrefslogtreecommitdiffstats
path: root/src/gui/NewSubgraphWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/NewSubgraphWindow.cpp')
-rw-r--r--src/gui/NewSubgraphWindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/NewSubgraphWindow.cpp b/src/gui/NewSubgraphWindow.cpp
index 086159a5..2f7d82f3 100644
--- a/src/gui/NewSubgraphWindow.cpp
+++ b/src/gui/NewSubgraphWindow.cpp
@@ -93,7 +93,7 @@ NewSubgraphWindow::set_graph(std::shared_ptr<const client::GraphModel> graph)
void
NewSubgraphWindow::name_changed()
{
- std::string name = _name_entry->get_text();
+ const std::string name = _name_entry->get_text();
if (!raul::Symbol::is_valid(name)) {
_message_label->set_text("Name contains invalid characters.");
_ok_button->property_sensitive() = false;