Put focus in layer name when LayerProperties window is shown

This commit is contained in:
David Capello 2015-08-21 08:27:13 -03:00
parent 5942e62277
commit 5e4164d552

View File

@ -280,6 +280,9 @@ void LayerPropertiesCommand::onExecute(Context* context)
g_window->setLayer(layer);
g_window->openWindow();
// Focus layer name
g_window->name()->requestFocus();
}
Command* CommandFactory::createLayerPropertiesCommand()