[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_3_BRANCH: kdepim/kmail
From: Edwin Schepers <yez () home ! nl>
Date: 2004-09-16 22:07:56
Message-ID: 20040916220756.0E7DE175C () office ! kde ! org
[Download RAW message or body]
CVS commit by eschepers:
switch into html mode when using bullets.
when pressing bold/italic, the buttons react (#89410)
M +6 -0 kmcomposewin.cpp 1.851.2.1
--- kdepim/kmail/kmcomposewin.cpp #1.851:1.851.2.1
@@ -3243,5 +3243,10 @@ void KMComposeWin::toggleMarkup(bool mar
mEditor->getSelection ( ¶From, &indexFrom, ¶To, &indexTo);
mEditor->selectAll();
+ // save the buttonstates because setColor calls fontChanged
+ bool _bold = textBoldAction->isChecked();
+ bool _italic = textItalicAction->isChecked();
mEditor->setColor(QColor(0,0,0));
+ textBoldAction->setChecked(_bold);
+ textItalicAction->setChecked(_italic);
mEditor->setSelection ( paraFrom, indexFrom, paraTo, indexTo);
@@ -3560,4 +3565,5 @@ void KMComposeWin::slotSetAlwaysSend( bo
void KMComposeWin::slotListAction( const QString& style )
{
+ toggleMarkup(true);
if ( style == i18n( "Standard" ) )
mEditor->setParagType( QStyleSheetItem::DisplayBlock, QStyleSheetItem::ListDisc );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic