summaryrefslogtreecommitdiff
path: root/src/interface/SaveButton.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/interface/SaveButton.cpp')
-rw-r--r--src/interface/SaveButton.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/interface/SaveButton.cpp b/src/interface/SaveButton.cpp
index 66a6e66..35be432 100644
--- a/src/interface/SaveButton.cpp
+++ b/src/interface/SaveButton.cpp
@@ -230,13 +230,12 @@ void SaveButton::OnMouseUnclick(int x, int y, unsigned int button)
if(isButtonDown)
{
+ isButtonDown = false;
if(isMouseInsideAuthor)
DoAuthorAction();
else
DoAction();
}
-
- isButtonDown = false;
}
void SaveButton::OnMouseClick(int x, int y, unsigned int button)