app: layers_text_tool_cmd_callback() is not supposed to be run on...
... non-text layers. Since commit 10099bda, the action will be non-sensitive with non-text layers, so if it happens, there is a bug somewhere. Therefore g_return_if_fail() on this condition. Moreover opening the edit attributes dialog was absolutely confusing on what this action is supposed to do. We should not have these kind of random behaviors.
Showing with 1 addition and 5 deletions