2
0
forked from Ivasoft/DSView

Fix invalid popup windows

This commit is contained in:
DreamSourceLab
2019-11-18 17:59:26 -08:00
parent fe096280fc
commit 9a681f24df

View File

@@ -184,6 +184,9 @@ void ViewStatus::mousePressEvent(QMouseEvent *event)
{
assert(event);
if (_session.get_device()->dev_inst()->mode != DSO)
return;
if (event->button() == Qt::LeftButton) {
//BOOST_FOREACH(QRect rect, std::get<0>(_mrects)) {
for(size_t i = 0; i < _mrects.size(); i++) {