[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: branches/KDE/3.5/kdewebdev/quanta/components/csseditor
From: Andras Mantia <amantia () kde ! org>
Date: 2007-01-09 21:01:59
Message-ID: 1168376519.460782.9741.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 621827 by amantia:
Be permissive and allow editing empty tags inside the CSS style editor. Make the CSS \
button work on Core & i18n tab for not-yet-inserted tags.
CCBUG: 135524
M +1 -1 styleeditor.cpp
--- branches/KDE/3.5/kdewebdev/quanta/components/csseditor/styleeditor.cpp \
#621826:621827 @@ -75,7 +75,7 @@
QString fullDocument = w->editIf->text().stripWhiteSpace();
- if (styleNode && styleNode->tag->type == Tag::XmlTag) {
+ if (styleNode && (styleNode->tag->type == Tag::XmlTag || styleNode->tag->type == \
Tag::Empty) ) { CSSEditor *dlg = new CSSEditor(this);
QFileInfo fi(ViewManager::ref()->currentURL());
dlg->setFileToPreview(Project::ref()->projectBaseURL().path() + \
fi.baseName(),false);
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic