From 2df37212ddacb316dfb33a5efc98b128c48fb086 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sun, 11 Oct 2020 15:38:12 +0200 Subject: [PATCH] EntryPushButton: Don't allow moving dynamic buttons --- entrypushbutton.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entrypushbutton.cpp b/entrypushbutton.cpp index e7fabb1..e3c0a32 100644 --- a/entrypushbutton.cpp +++ b/entrypushbutton.cpp @@ -116,7 +116,7 @@ void EntryPushButton::mousePressEvent(QMouseEvent *event) void EntryPushButton::mouseMoveEvent(QMouseEvent *event) { - if(this->config.type == EntryType::SYSTEM) + if(this->config.type == EntryType::SYSTEM || this->config.type == EntryType::DYNAMIC) { return; }