Commit 02be812b authored by Claudio Valerio's avatar Claudio Valerio

fixed problem with widgets drop down list

parent 5b6f4a48
......@@ -599,6 +599,9 @@ Here we determines cases when items should to get mouse press event at pressing
case QGraphicsWebView::Type:
return true;
case QGraphicsProxyWidget::Type:
return false;
case UBGraphicsWidgetItem::Type:
if (currentTool == UBStylusTool::Selector && item->parentItem() && item->parentItem()->isSelected())
return true;
......
......@@ -50,7 +50,7 @@ class UBDocumentToolsPalette;
class UBDocumentController : public UBDocumentContainer
{
Q_OBJECT;
Q_OBJECT
public:
UBDocumentController(UBMainWindow* mainWindow);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment