summaryrefslogtreecommitdiffstats
path: root/src/resizabledragwidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resizabledragwidget.cpp')
-rw-r--r--src/resizabledragwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resizabledragwidget.cpp b/src/resizabledragwidget.cpp
index ec48d6e..9cb3ade 100644
--- a/src/resizabledragwidget.cpp
+++ b/src/resizabledragwidget.cpp
@@ -36,6 +36,10 @@ ResizableDragWidget::~ResizableDragWidget()
void ResizableDragWidget::mousePressEvent(TQMouseEvent * e)
{
+ if (locked)
+ {
+ return;
+ }
TQPoint pos = e->pos();
if (pos.x()>width()-20 && pos.x()<width() && pos.y()>height()-20 && pos.y()<height() ) {