EntryPushButton: Don't allow moving dynamic buttons

Cette révision appartient à :
Albert S. 2020-10-11 15:38:12 +02:00
Parent b13815a924
révision 2df37212dd
1 fichiers modifiés avec 1 ajouts et 1 suppressions

Voir le fichier

@ -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;
}