mirror of
https://github.com/aseprite/aseprite.git
synced 2025-03-05 22:13:37 +00:00
Put focus in layer name when LayerProperties window is shown
This commit is contained in:
parent
5942e62277
commit
5e4164d552
@ -280,6 +280,9 @@ void LayerPropertiesCommand::onExecute(Context* context)
|
|||||||
|
|
||||||
g_window->setLayer(layer);
|
g_window->setLayer(layer);
|
||||||
g_window->openWindow();
|
g_window->openWindow();
|
||||||
|
|
||||||
|
// Focus layer name
|
||||||
|
g_window->name()->requestFocus();
|
||||||
}
|
}
|
||||||
|
|
||||||
Command* CommandFactory::createLayerPropertiesCommand()
|
Command* CommandFactory::createLayerPropertiesCommand()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user