mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/statistics] Implement copy in calculation controller
Change-Id: Ifb9d7ed46f484a2e7f30f0c473c7e785ea6e034a
This commit is contained in:
@@ -27,6 +27,11 @@ bool CalculationController::handleEvent(Ion::Events::Event event) {
|
||||
app()->setFirstResponder(tabController());
|
||||
return true;
|
||||
}
|
||||
if (event == Ion::Events::Copy && selectableTableView()->selectedColumn() == 1) {
|
||||
EvenOddBufferTextCell * myCell = (EvenOddBufferTextCell *)selectableTableView()->selectedCell();
|
||||
Clipboard::sharedClipboard()->store(myCell->text());
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user