EntryPushButton: Enter drag mode only for user entries
Maybe the decision should not be up to the button, but for now this will do.
Tá an tiomantas seo le fáil i:
tuismitheoir
27ac3155d3
tiomantas
2a9292958b
@ -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;
|
||||
|
Á lódáil...
x
Tagairt in Eagrán Nua
Cuir bac ar úsáideoir