Node name change cursor missing (#6721)
Signed-off-by: T.J. McGrath-Daly <tj.mcgrath.daly@huawei.com>
This commit is contained in:
@@ -38,6 +38,12 @@ namespace EMotionFX
|
||||
m_node = node;
|
||||
}
|
||||
|
||||
void AnimGraphNodeNameLineEdit::focusInEvent([[maybe_unused]] QFocusEvent* event)
|
||||
{
|
||||
selectAll();
|
||||
QLineEdit::focusInEvent(event);
|
||||
}
|
||||
|
||||
//---------------------------------------------------------------------------------------------------------------------------------------------------------
|
||||
|
||||
AnimGraphNodeNameHandler::AnimGraphNodeNameHandler()
|
||||
|
||||
@@ -29,7 +29,8 @@ namespace EMotionFX
|
||||
~AnimGraphNodeNameLineEdit() = default;
|
||||
|
||||
void SetNode(AnimGraphNode* node);
|
||||
|
||||
private:
|
||||
void focusInEvent(QFocusEvent* event) override;
|
||||
private:
|
||||
AnimGraphNode* m_node;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user