r22588 by craig - Fix oops in previous commit
scribus-commit
scribus-commit at lists.scribus.net
Fri Jun 29 22:23:31 UTC 2018
Author: craig
Date: Fri Jun 29 22:23:30 2018
New Revision: 22588
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=22588
Log:
Fix oops in previous commit
Modified:
trunk/Scribus/scribus/ui/proptree.cpp
Modified: trunk/Scribus/scribus/ui/proptree.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=22588&path=/trunk/Scribus/scribus/ui/proptree.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/proptree.cpp (original)
+++ trunk/Scribus/scribus/ui/proptree.cpp Fri Jun 29 22:23:30 2018
@@ -453,9 +453,15 @@
{
QTreeWidgetItem *item = itemAt(event->pos());
if (!item)
+ {
QTreeWidget::mousePressEvent(event);
+ return;
+ }
if (!(item->flags() & Qt::ItemIsEditable))
+ {
QTreeWidget::mousePressEvent(event);
+ return;
+ }
if ((event->button() == Qt::LeftButton) && (header()->logicalIndexAt(event->pos().x()) == 1))
QTreeWidget::mousePressEvent(event);
else
More information about the scribus-commit
mailing list