mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-01-19 00:37:25 +01:00
[apps/settings] Add comment on version cycle display
This commit is contained in:
@@ -24,6 +24,9 @@ bool AboutController::handleEvent(Ion::Events::Event event) {
|
||||
}
|
||||
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
|
||||
if (selectedRow() == 0) {
|
||||
/* When pressing OK on the version cell, the display cycles between
|
||||
* Epsilon version number, the commit hash for this build of Epsilon, and
|
||||
* the PCB revision number. */
|
||||
MessageTableCellWithBuffer * myCell = (MessageTableCellWithBuffer *)m_selectableTableView.selectedCell();
|
||||
const char * currentText = myCell->accessoryText();
|
||||
if (strcmp(currentText, Ion::patchLevel()) == 0) {
|
||||
|
||||
Reference in New Issue
Block a user