r24540 by jghali - #16499: Crash on setting tabs after reverting to parent style's tab

scribus-commit scribus-commit at lists.scribus.net
Tue Mar 2 11:42:02 UTC 2021


Author: jghali
Date: Tue Mar  2 11:42:01 2021
New Revision: 24540

URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=24540
Log:
#16499: Crash on setting tabs after reverting to parent style's tab

Modified:
    trunk/Scribus/scribus/ui/smtabruler.cpp

Modified: trunk/Scribus/scribus/ui/smtabruler.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=24540&path=/trunk/Scribus/scribus/ui/smtabruler.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/smtabruler.cpp	(original)
+++ trunk/Scribus/scribus/ui/smtabruler.cpp	Tue Mar  2 11:42:01 2021
@@ -243,6 +243,7 @@
 		setTabs(m_parentTabs, m_unitIndex, true);
 		Tabruler::repaint();
 		m_parentButton->hide();
+		m_useParentTabs = false;
 	}
 	else if (m_hasParent)
 	{




More information about the scribus-commit mailing list