EntryPushButton: Don't allow moving dynamic buttons
This commit is contained in:
父節點
b13815a924
當前提交
2df37212dd
@ -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;
|
||||
}
|
||||
|
載入中…
新增問題並參考
Block a user