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

List:       kde-commits
Subject:    [calligra] words/part/dialogs: Words: redo "Change Shape Properties" command on every redo, not only
From:       Dag Andersen <danders () get2net ! dk>
Date:       2016-11-24 11:13:48
Message-ID: E1c9ryO-0001ah-9I () code ! kde ! org
[Download RAW message or body]

Git commit c471a2235eda646fd0b2895816460662927f9771 by Dag Andersen.
Committed on 24/11/2016 at 11:13.
Pushed by danders into branch 'master'.

Words: redo "Change Shape Properties" command on every redo, not only first time

Summary:
Test:
Add a shape
Change ancoring to inline
undo, redo -> shape is not inlined

Reviewers: boemann

Reviewed By: boemann

Tags: #kexi, #calligra:_3.0

Differential Revision: https://phabricator.kde.org/D3377

M  +2    -0    words/part/dialogs/KWFrameDialog.cpp

https://commits.kde.org/calligra/c471a2235eda646fd0b2895816460662927f9771

diff --git a/words/part/dialogs/KWFrameDialog.cpp b/words/part/dialogs/KWFrameDialog.cpp
index e1c52b2..e9bbdcd 100644
--- a/words/part/dialogs/KWFrameDialog.cpp
+++ b/words/part/dialogs/KWFrameDialog.cpp
@@ -87,6 +87,8 @@ void KWFrameDialog::okClicked()
                 m_first = false;
                 KUndo2Command::redo();
                 m_anchoringProperties->save(this, m_canvas);
+            } else {
+                KUndo2Command::redo();
             }
         }
         KWAnchoringProperties *m_anchoringProperties;
[prev in list] [next in list] [prev in thread] [next in thread] 

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