fixed problem with widgets drop down list

preferencesAboutTextFull
Claudio Valerio 11 years ago
parent 5b6f4a4821
commit 02be812b74
  1. 3
      src/board/UBBoardView.cpp
  2. 2
      src/document/UBDocumentController.h

@ -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);

Loading…
Cancel
Save