diff --git a/companion/src/simulation/myqdial.h b/companion/src/simulation/myqdial.h
new file mode 100644
index 000000000..54f76473e
--- /dev/null
+++ b/companion/src/simulation/myqdial.h
@@ -0,0 +1,21 @@
+#ifndef MYQDIAL_H
+#define MYQDIAL_H
+
+
+class myQDial : public QDial
+{
+public:
+ explicit myQDial(QWidget *parent = 0) : QDial(parent) {}
+
+protected:
+ void mousePressEvent(QMouseEvent *event)
+ {
+ if (event->button() == Qt::RightButton && event->type() == QEvent::MouseButtonDblClick) {
+ setValue(0);
+ event->accept();
+ }
+ QDial::mousePressEvent(event);
+ }
+};
+
+#endif
diff --git a/companion/src/simulation/simulatordialog-9x.ui b/companion/src/simulation/simulatordialog-9x.ui
index f650d2fad..4f3dfb7c5 100644
--- a/companion/src/simulation/simulatordialog-9x.ui
+++ b/companion/src/simulation/simulatordialog-9x.ui
@@ -974,8 +974,8 @@ QPushButton:checked {
-
-
-
-
+
+
-
true
@@ -1006,7 +1006,7 @@ QPushButton:checked {
- -
+
-
Qt::Vertical
@@ -1019,8 +1019,8 @@ QPushButton:checked {
- -
-
+
-
+
0
@@ -1053,7 +1053,7 @@ QPushButton:checked {
- -
+
-
0 %
@@ -1063,7 +1063,7 @@ QPushButton:checked {
- -
+
-
Qt::Vertical
@@ -1076,8 +1076,8 @@ QPushButton:checked {
- -
-
+
-
+
0
@@ -1113,7 +1113,7 @@ QPushButton:checked {
- -
+
-
0 %
@@ -1123,7 +1123,7 @@ QPushButton:checked {
- -
+
-
Qt::Vertical
@@ -1136,8 +1136,8 @@ QPushButton:checked {
- -
-
+
-
+
0
@@ -1170,7 +1170,7 @@ QPushButton:checked {
- -
+
-
0 %
@@ -1180,7 +1180,7 @@ QPushButton:checked {
- -
+
-
Qt::Vertical
@@ -1491,6 +1491,11 @@ QPushButton:checked {
1
+
+ myQDial
+ QDial
+
+
diff --git a/companion/src/simulation/simulatordialog-taranis.ui b/companion/src/simulation/simulatordialog-taranis.ui
index 1f6050543..0273c3c4a 100644
--- a/companion/src/simulation/simulatordialog-taranis.ui
+++ b/companion/src/simulation/simulatordialog-taranis.ui
@@ -570,7 +570,7 @@ QPushButton:checked {
-
-
+
0
@@ -826,7 +826,7 @@ QPushButton:checked {
-
-
+
0
@@ -1065,7 +1065,7 @@ QPushButton:checked {
-
-
+
0
@@ -1430,7 +1430,7 @@ QPushButton:checked {
-
-
+
0
@@ -1687,6 +1687,11 @@ QPushButton:checked {
1
+
+ myQDial
+ QDial
+
+