Release mouse before command execution (fix #4484)

This commit is contained in:
Liebranca 2024-08-22 15:52:54 -03:00 committed by David Capello
parent 0a1c5275a7
commit 46c57c91c7

View File

@ -162,6 +162,8 @@ bool DraggingValueState::onUpdateStatusBar(Editor* editor)
void DraggingValueState::onBeforeCommandExecution(CommandExecutionEvent& ev)
{
if (m_editor->hasCapture())
m_editor->releaseMouse();
m_editor->backToPreviousState();
}