mirror of
https://github.com/DreamSourceLab/DSView.git
synced 2025-01-13 13:32:53 +08:00
Fix invalid popup windows
This commit is contained in:
parent
fe096280fc
commit
9a681f24df
@ -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++) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user