diff options
Diffstat (limited to 'src/gui/NewSubgraphWindow.cpp')
-rw-r--r-- | src/gui/NewSubgraphWindow.cpp | 2 |
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; |