EntryPushButton: Don't allow moving dynamic buttons

このコミットはプルリクエスト #26 でマージされました。
このコミットが含まれているのは:
2020-10-11 15:38:12 +02:00
コミット 2df37212dd

ファイルの表示

@@ -116,7 +116,7 @@ void EntryPushButton::mousePressEvent(QMouseEvent *event)
void EntryPushButton::mouseMoveEvent(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; return;
} }