Commit fa520c45 authored by Sven Langkamp's avatar Sven Langkamp

better fix for the selection transaction. The child transaction needs to be...

better fix for the selection transaction. The child transaction needs to be unlocked on first redo too

svn path=/trunk/koffice/; revision=659214
parent 902591d1
......@@ -39,16 +39,16 @@ KisSelectedTransaction::~KisSelectedTransaction()
void KisSelectedTransaction::redo()
{
super::redo();
m_selTransaction->redo();
//QUndoStack calls redo(), so the first call needs to be blocked
if(m_firstRedo)
{
m_firstRedo = false;
m_selTransaction->redo();
return;
}
super::redo();
m_selTransaction->redo();
if(m_redoHasSelection)
m_device->selection();
else
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment