mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-24 00:00:44 +01:00
[escher] Handle copy/cut event on selectable table view
This commit is contained in:
@@ -85,11 +85,6 @@ bool ValuesController::handleEvent(Ion::Events::Event event) {
|
||||
if (selectedRow() == -1) {
|
||||
return header()->handleEvent(event);
|
||||
}
|
||||
if (event == Ion::Events::Copy && selectedRow() > 0 && selectedColumn() > 0) {
|
||||
EvenOddBufferTextCell * cell = (EvenOddBufferTextCell *)selectableTableView()->selectedCell();
|
||||
Clipboard::sharedClipboard()->store(cell->text());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user