r23316 by jghali - Fix a crash in content palette occuring sometime when working with multiple objects
scribus-commit
scribus-commit at lists.scribus.net
Mon Nov 4 08:12:42 UTC 2019
Author: jghali
Date: Mon Nov 4 08:12:42 2019
New Revision: 23316
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=23316
Log:
Fix a crash in content palette occuring sometime when working with multiple objects
Modified:
trunk/Scribus/scribus/ui/contentpalette.cpp
Modified: trunk/Scribus/scribus/ui/contentpalette.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=23316&path=/trunk/Scribus/scribus/ui/contentpalette.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/contentpalette.cpp (original)
+++ trunk/Scribus/scribus/ui/contentpalette.cpp Mon Nov 4 08:12:42 2019
@@ -29,7 +29,6 @@
QFont f(font());
f.setPointSize(f.pointSize()-1);
setFont(f);
-
stackedWidget = new QStackedWidget(this);
@@ -200,9 +199,11 @@
{
newPanel = Panel::empty;
m_haveItem = false;
- } else if (m_doc->m_Selection->count() > 1)
+ }
+ else if (m_doc->m_Selection->count() > 1)
{
newPanel = Panel::empty;
+ m_haveItem = false;
}
else
{
More information about the scribus-commit
mailing list