summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp')
-rw-r--r--ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp b/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp
index 3303e54c..f4ecaa48 100644
--- a/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp
+++ b/ftnoir_protocol_mouse/ftnoir_protocol_mouse_dialog.cpp
@@ -25,7 +25,7 @@
#include "ftnoir_protocol_mouse.h"
#include "opentrack/plugin-api.hpp"
-MOUSEControls::MOUSEControls() : _proto(nullptr)
+MOUSEControls::MOUSEControls()
{
ui.setupUi( this );
ui.cbxSelectMouse_X->addItem("None");
@@ -53,8 +53,6 @@ MOUSEControls::MOUSEControls() : _proto(nullptr)
void MOUSEControls::doOK() {
s.b->save();
- if (_proto)
- _proto->reload();
this->close();
}