[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [calligra/calligra/2.6] plugins/textshape/dialogs: Make the behaviour consistent between list action
From:       C. Boemann <cbo () boemann ! dk>
Date:       2013-01-05 17:51:01
Message-ID: 20130105175101.2E57BA60C4 () git ! kde ! org
[Download RAW message or body]

Git commit 1b426713835bbb547f476d8edd08e96a7559f18c by C. Boemann, on behal=
f of Gopalakrishna Bhat A.
Committed on 05/01/2013 at 18:06.
Pushed by boemann into branch 'calligra/2.6'.

Make the behaviour consistent between list actions from SimpleParagraphwidg=
et and ParagraphSettingsDialog

M  +2    -1    plugins/textshape/dialogs/SimpleParagraphWidget.cpp

http://commits.kde.org/calligra/1b426713835bbb547f476d8edd08e96a7559f18c

diff --git a/plugins/textshape/dialogs/SimpleParagraphWidget.cpp b/plugins/=
textshape/dialogs/SimpleParagraphWidget.cpp
index 01bb499..2381305 100644
--- a/plugins/textshape/dialogs/SimpleParagraphWidget.cpp
+++ b/plugins/textshape/dialogs/SimpleParagraphWidget.cpp
@@ -305,7 +305,8 @@ void SimpleParagraphWidget::listStyleChanged(int id)
     KoListLevelProperties llp;
     llp.setStyle(static_cast<KoListStyle::Style>(id));
     llp.setLevel(1);
-    m_tool->textEditor()->setListProperties(llp);
+    KoTextEditor::ChangeListFlags flags(KoTextEditor::AutoListStyle | KoTe=
xtEditor::DontUnsetIfSame);
+    m_tool->textEditor()->setListProperties(llp, flags);
 }
 =

 void SimpleParagraphWidget::styleSelected(int index)

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic