r23453 by jghali - Fix issue with text properties displayed in PP when selecting multiple characters

scribus-commit scribus-commit at lists.scribus.net
Sat Jan 25 18:16:53 UTC 2020


Author: jghali
Date: Sat Jan 25 18:16:53 2020
New Revision: 23453

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23453
Log:
Fix issue with text properties displayed in PP when selecting multiple characters

Modified:
    trunk/Scribus/scribus/canvasmode_edit.cpp

Modified: trunk/Scribus/scribus/canvasmode_edit.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23453&path=/trunk/Scribus/scribus/canvasmode_edit.cpp
==============================================================================
--- trunk/Scribus/scribus/canvasmode_edit.cpp	(original)
+++ trunk/Scribus/scribus/canvasmode_edit.cpp	Sat Jan 25 18:16:53 2020
@@ -468,6 +468,9 @@
 						QRectF br(currItem->getBoundingRect());
 						m_canvas->update(QRectF(m_canvas->canvasToLocal(br.topLeft()), br.size() * m_canvas->scale()).toRect());
 					}
+					// We have to call this unconditionally because slotSetCurs() doesn't know selection
+					// when it is called
+					m_doc->scMW()->setTBvals(currItem);
 				}
 			}
 		}




More information about the scribus-commit mailing list