diff options
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r-- | src/Workspace.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc index 35fcf54..2f575af 100644 --- a/src/Workspace.cc +++ b/src/Workspace.cc | |||
@@ -371,6 +371,8 @@ void Workspace::update(FbTk::Subject *subj) { | |||
371 | 371 | ||
372 | void Workspace::setName(const string &name) { | 372 | void Workspace::setName(const string &name) { |
373 | if (!name.empty() && name != "") { | 373 | if (!name.empty() && name != "") { |
374 | if (name == m_name) | ||
375 | return; | ||
374 | m_name = name; | 376 | m_name = name; |
375 | } else { //if name == 0 then set default name from nls | 377 | } else { //if name == 0 then set default name from nls |
376 | _FB_USES_NLS; | 378 | _FB_USES_NLS; |