mirror of
https://github.com/UpsilonNumworks/Upsilon.git
synced 2026-03-27 01:29:58 +01:00
[apps] Sequence: fix toolbox handleEvent
This commit is contained in:
committed by
EmilieNumworks
parent
e7963332f6
commit
7026abdc5c
@@ -25,8 +25,8 @@ SequenceToolbox::~SequenceToolbox() {
|
||||
}
|
||||
|
||||
bool SequenceToolbox::handleEvent(Ion::Events::Event event) {
|
||||
if (selectedRow() < m_numberOfAddedCells) {
|
||||
if ((event == Ion::Events::OK || event == Ion::Events::EXE) && stackDepth() == 0) {
|
||||
if (selectedRow() < m_numberOfAddedCells && stackDepth() == 0) {
|
||||
if (event == Ion::Events::OK || event == Ion::Events::EXE) {
|
||||
return selectAddedCell(selectedRow());
|
||||
}
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user