EntryPushButton: Enter drag mode only for user entries

Maybe the decision should not be up to the button, but
for now this will do.
This commit is contained in:
Albert S. 2020-09-13 15:22:16 +02:00
부모 27ac3155d3
커밋 2a9292958b
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제

파일 보기

@ -77,6 +77,10 @@ void EntryPushButton::mousePressEvent(QMouseEvent *event)
void EntryPushButton::mouseMoveEvent(QMouseEvent *event)
{
if(! this->config.userEntry)
{
return;
}
if(!(event->buttons() & Qt::LeftButton))
{
return;