summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: ed4f550)
raw | patch | inline | side by side (parent: ed4f550)
author | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 1 Oct 2006 14:39:18 +0000 (14:39 +0000) | ||
committer | johanengelen <johanengelen@users.sourceforge.net> | |
Sun, 1 Oct 2006 14:39:18 +0000 (14:39 +0000) |
src/select-context.cpp | patch | blob | history | |
src/seltrans.h | patch | blob | history |
diff --git a/src/select-context.cpp b/src/select-context.cpp
index c527471f5a22c093da8c24bce6f9cbb5b95a1a2c..8f971149e079588efabf006d3760075f6232f900 100644 (file)
--- a/src/select-context.cpp
+++ b/src/select-context.cpp
if (!key_is_a_modifier (get_group0_keyval (&event->key))) {
event_context->defaultMessageContext()->clear();
+ } else if (sc->grabbed || seltrans->isGrabbed()) {
+ // do not change the statusbar text when mousekey is down to move or transform the object,
+ // because the statusbar text is already updated somewhere else.
+ break;
} else {
sp_event_show_modifier_tip (event_context->defaultMessageContext(), event,
_("<b>Ctrl</b>: select in groups, move hor/vert"),
diff --git a/src/seltrans.h b/src/seltrans.h
index 5326c7b87b1db1ebf0bae610a14dfac51ed3cc8a..80bbbcf350b3f4d5220f31b5a78c6e7673f5d93f 100644 (file)
--- a/src/seltrans.h
+++ b/src/seltrans.h
bool isEmpty() {
return _empty;
}
+ bool isGrabbed() {
+ return _grabbed;
+ }
private:
void _updateHandles();