mirror of https://github.com/zlatinb/muwire
short-circuit logic if monitor is not visible
parent
c7406a4838
commit
2dee5e2a8a
|
@ -501,6 +501,9 @@ class MainFrameModel {
|
||||||
}
|
}
|
||||||
|
|
||||||
void onQueryEvent(QueryEvent e) {
|
void onQueryEvent(QueryEvent e) {
|
||||||
|
if (!uiSettings.showMonitor)
|
||||||
|
return
|
||||||
|
|
||||||
if (e.replyTo == core.me.destination)
|
if (e.replyTo == core.me.destination)
|
||||||
return
|
return
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue