summaryrefslogtreecommitdiffstats
path: root/gui/mainwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gui/mainwindow.cpp')
-rw-r--r--gui/mainwindow.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/gui/mainwindow.cpp b/gui/mainwindow.cpp
index cef5f278..7cdf93ad 100644
--- a/gui/mainwindow.cpp
+++ b/gui/mainwindow.cpp
@@ -410,9 +410,11 @@ void MainWindow::on_actionRenameInstance_triggered()
if (name.length() > 0)
{
- if(ok && name.length() && name.length() <= 25)
+ if(ok && name.length())
+ {
m_selectedInstance->setName(name);
- renameButton->setText(name);
+ renameButton->setText(name);
+ }
}
}