mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-19 05:40:38 +01:00
[escher] LayoutField: reset selection when clearing layout
This commit is contained in:
@@ -52,6 +52,7 @@ void LayoutField::ContentView::useInsertionCursor() {
|
||||
void LayoutField::ContentView::clearLayout() {
|
||||
HorizontalLayout h = HorizontalLayout::Builder();
|
||||
if (m_expressionView.setLayout(h)) {
|
||||
resetSelection();
|
||||
m_cursor.setLayout(h);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user