From 8c41342f5523120bd50ba3c39e11a67e31e90835 Mon Sep 17 00:00:00 2001 From: kamalpreetgrewal Date: Fri, 19 Aug 2016 01:55:57 +0530 Subject: Uncommenting for editing CSS properties (bzr r14949.1.71) --- src/ui/dialog/styledialog.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ui/dialog/styledialog.cpp') 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(); -// } + } } } } -- cgit v1.2.3