Commit 97f9163bf603b7f7d73c6307b9fdc2fb1a919c53
1 parent
b50a5249
Don't add the same GUIProxy twice as an event filter
Showing
1 changed file
with
2 additions
and
0 deletions
openbr/plugins/gui.cpp
| @@ -94,6 +94,8 @@ public slots: | @@ -94,6 +94,8 @@ public slots: | ||
| 94 | void createWindow() | 94 | void createWindow() |
| 95 | { | 95 | { |
| 96 | delete window; | 96 | delete window; |
| 97 | + QApplication::instance()->removeEventFilter(this); | ||
| 98 | + | ||
| 97 | window = new QLabel(); | 99 | window = new QLabel(); |
| 98 | window->setVisible(true); | 100 | window->setVisible(true); |
| 99 | 101 |