r17057 by fschmid - Fixed the sometimes not working redraw of textframes when textflowaround settings have changed.
scribus-commit
scribus-commit at lists.scribus.net
Sat Dec 3 12:12:04 UTC 2011
Author: fschmid
Date: Sat Dec 3 12:12:04 2011
New Revision: 17057
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=17057
Log:
Fixed the sometimes not working redraw of textframes when textflowaround settings have changed.
Modified:
trunk/Scribus/scribus/ui/propertiespalette_group.cpp
trunk/Scribus/scribus/ui/propertiespalette_line.cpp
trunk/Scribus/scribus/ui/propertiespalette_shape.cpp
Modified: trunk/Scribus/scribus/ui/propertiespalette_group.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17057&path=/trunk/Scribus/scribus/ui/propertiespalette_group.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_group.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette_group.cpp Sat Dec 3 12:12:04 2011
@@ -498,6 +498,7 @@
}
m_item->setTextFlowMode(mode);
emit DocChanged();
+ m_doc->invalidateAll();
m_doc->regionsChanged()->update(QRect());
}
}
Modified: trunk/Scribus/scribus/ui/propertiespalette_line.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17057&path=/trunk/Scribus/scribus/ui/propertiespalette_line.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_line.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette_line.cpp Sat Dec 3 12:12:04 2011
@@ -512,6 +512,7 @@
else
dashEditor->setEnabled(false);
}
+ m_doc->invalidateAll();
m_doc->regionsChanged()->update(QRect());
}
}
Modified: trunk/Scribus/scribus/ui/propertiespalette_shape.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=17057&path=/trunk/Scribus/scribus/ui/propertiespalette_shape.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/propertiespalette_shape.cpp (original)
+++ trunk/Scribus/scribus/ui/propertiespalette_shape.cpp Sat Dec 3 12:12:04 2011
@@ -348,7 +348,6 @@
if (m_item->FrameType > 3)
customShape->setIcon(customShape->getIconPixmap(m_item->FrameType-2));
- m_haveItem = true;
roundRect->setValue(m_item->cornerRadius()*m_unitRatio);
displayTextFlowMode(m_item->textFlowMode());
@@ -389,6 +388,8 @@
{
setEnabled(false);
}
+ m_haveItem = true;
+ displayTextFlowMode(m_item->textFlowMode());
}
void PropertiesPalette_Shape::handleTextFlow()
@@ -413,6 +414,7 @@
}
m_item->setTextFlowMode(mode);
emit DocChanged();
+ m_doc->invalidateAll();
m_doc->regionsChanged()->update(QRect());
}
}
More information about the scribus-commit
mailing list