summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/styledialog.cpp
diff options
context:
space:
mode:
authorkamalpreetgrewal <grewalkamal005@gmail.com>2016-08-18 20:25:57 +0000
committerkamalpreetgrewal <grewalkamal005@gmail.com>2016-08-18 20:25:57 +0000
commit8c41342f5523120bd50ba3c39e11a67e31e90835 (patch)
treee51d82cea075399f5c94323cd58fb2f8a163c80c /src/ui/dialog/styledialog.cpp
parentPassing test when adding id selectors (diff)
downloadinkscape-8c41342f5523120bd50ba3c39e11a67e31e90835.tar.gz
inkscape-8c41342f5523120bd50ba3c39e11a67e31e90835.zip
Uncommenting for editing CSS properties
(bzr r14949.1.71)
Diffstat (limited to 'src/ui/dialog/styledialog.cpp')
-rw-r--r--src/ui/dialog/styledialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/styledialog.cpp b/src/ui/dialog/styledialog.cpp
index e0aeaf09d..fa092a602 100644
--- a/src/ui/dialog/styledialog.cpp
+++ b/src/ui/dialog/styledialog.cpp
@@ -876,7 +876,7 @@ void StyleDialog::_handleEdited(const Glib::ustring& path, const Glib::ustring&
std::string matchSelector = selectedRowLabel;
REMOVE_SPACES(matchSelector);
-// if (key == matchSelector) {
+ if (key == matchSelector) {
/** If a new property is added, existing value is appended with new
* property, else replacements in value are done in the 'else' block.
*/
@@ -912,7 +912,7 @@ void StyleDialog::_handleEdited(const Glib::ustring& path, const Glib::ustring&
value.erase(std::remove(value.begin(), value.end(), '\n'), value.end());
(*it)._xmlContent = key + "{" + value + "}\n";
_updateStyleContent();
-// }
+ }
}
}
}