[TD]remove spurious mouseReleaseEvent (fix #17519)
This commit is contained in:
committed by
Chris Hennes
parent
cc2ba4c67d
commit
02ae2bdd3f
@@ -130,15 +130,6 @@ void QGSPage::mousePressEvent(QGraphicsSceneMouseEvent * event)
|
||||
QGraphicsScene::mousePressEvent(event);
|
||||
}
|
||||
|
||||
void QGSPage::mouseReleaseEvent(QGraphicsSceneMouseEvent * event)
|
||||
{
|
||||
Qt::KeyboardModifiers originalModifiers = event->modifiers();
|
||||
if ((event->button() == Qt::LeftButton) && PreferencesGui::multiSelection()) {
|
||||
event->setModifiers(originalModifiers | Qt::ControlModifier);
|
||||
}
|
||||
|
||||
QGraphicsScene::mouseReleaseEvent(event);
|
||||
}
|
||||
|
||||
//! returns true if clicking on the item should clear the selection
|
||||
bool QGSPage::itemClearsSelection(int itemTypeIn)
|
||||
|
||||
@@ -152,7 +152,6 @@ public:
|
||||
|
||||
protected:
|
||||
void mousePressEvent(QGraphicsSceneMouseEvent *event) override;
|
||||
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event) override;
|
||||
|
||||
QColor getBackgroundColor();
|
||||
bool orphanExists(const char* viewName, const std::vector<App::DocumentObject*>& list);
|
||||
|
||||
Reference in New Issue
Block a user