mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[escher] Handle copy/cut event on selectable table view
This commit is contained in:
@@ -87,7 +87,7 @@ bool ExpressionModelListController::handleEventOnExpression(Ion::Events::Event e
|
||||
editExpression(model, event);
|
||||
return true;
|
||||
}
|
||||
if (event == Ion::Events::Copy && !isAddEmptyRow(selectedRow())) {
|
||||
if ((event == Ion::Events::Copy || event == Ion::Events::Cut) && !isAddEmptyRow(selectedRow())) {
|
||||
Clipboard::sharedClipboard()->store(textForRow(selectedRow()));
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user