Only allow to re-order tabs if we have more than 1

Otherwise it's confusing

Fixes: #27
This commit is contained in:
Sergio Martins
2020-02-18 11:06:04 +00:00
parent 232e96ee0e
commit a35e088988
2 changed files with 9 additions and 0 deletions

View File

@@ -52,6 +52,7 @@ public:
protected:
bool dragCanStart(QPoint pressPos, QPoint pos) const override;
void mousePressEvent(QMouseEvent *) override;
void mouseMoveEvent(QMouseEvent *e) override;
};
}