Fixed bug: Set of pending commands could not be canceled

This commit is contained in:
johns 2000-05-01 14:42:24 +00:00
parent 797c213100
commit ffb488a8c1

View file

@ -870,6 +870,13 @@ global void UIHandleButtonDown(int b)
}
return;
}
if( CursorOn==CursorOnButton ) {
// FIXME: other buttons?
if( ButtonUnderCursor>9 ) {
DoButtonButtonClicked(ButtonUnderCursor-10);
return;
}
}
ClearStatusLine();
ClearCosts();
CursorState=CursorStatePoint;