aboutsummaryrefslogtreecommitdiff
path: root/src/Workspace.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/Workspace.cc')
-rw-r--r--src/Workspace.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Workspace.cc b/src/Workspace.cc
index 2933ab5..fe30a8f 100644
--- a/src/Workspace.cc
+++ b/src/Workspace.cc
@@ -171,6 +171,8 @@ size_t Workspace::numberOfWindows() const {
171 171
172void Workspace::setName(const string &name) { 172void Workspace::setName(const string &name) {
173 if (!name.empty() && name != "") { 173 if (!name.empty() && name != "") {
174 if (name == m_name)
175 return;
174 m_name = name; 176 m_name = name;
175 } else { //if name == 0 then set default name from nls 177 } else { //if name == 0 then set default name from nls
176 _FB_USES_NLS; 178 _FB_USES_NLS;