summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c88c5cc)
raw | patch | inline | side by side (parent: c88c5cc)
author | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 17 Dec 2007 00:43:07 +0000 (00:43 +0000) | ||
committer | buliabyak <buliabyak@users.sourceforge.net> | |
Mon, 17 Dec 2007 00:43:07 +0000 (00:43 +0000) |
src/widgets/layer-selector.cpp | patch | blob | history |
index 66f4aebf4e77fd822908a38f6e0e8e3dd37ec5dd..b6898b2feb0391910d46bd3ae0d7ecc58f7cb0cf 100644 (file)
_selectLayer(_desktop->currentLayer());
}
+ if (_desktop && _desktop->canvas) {
+ gtk_widget_grab_focus (GTK_WIDGET(_desktop->canvas));
+ }
}
/** Creates rows in the _layer_model data structure for each item