Fix broken column toggle shortcuts

This commit is contained in:
manongjohn 2023-10-17 16:08:50 -04:00
parent 32a45890bb
commit 06d53de76d
3 changed files with 1 additions and 10 deletions

View file

@ -1437,7 +1437,7 @@ public:
TApp::instance()->getCurrentSelection()->getSelection());
TXsheet *xsh = TApp::instance()->getCurrentXsheet()->getXsheet();
XsheetViewer *xviewer = TApp::instance()->getCurrentXsheetViewer();
int cc = xviewer->getClickedColumn();
int cc = TApp::instance()->getCurrentColumn()->getColumnIndex();
bool sound_changed = false;
TTool *tool = TApp::instance()->getCurrentTool()->getTool();
TTool::Viewer *viewer = tool ? tool->getViewer() : nullptr;

View file

@ -500,14 +500,6 @@ int XsheetViewer::getCurrentColumn() const {
//-----------------------------------------------------------------------------
int XsheetViewer::getClickedColumn() const {
if (!m_columnArea) return -1;
return m_columnArea->getClickedColumn();
}
//-----------------------------------------------------------------------------
int XsheetViewer::getCurrentRow() const {
return TApp::instance()->getCurrentFrame()->getFrame();
}

View file

@ -683,7 +683,6 @@ public:
TXsheet *getXsheet() const;
int getCurrentColumn() const;
int getClickedColumn() const;
int getCurrentRow() const;
//! Restituisce la \b objectId corrispondente alla colonna \b col
TStageObjectId getObjectId(int col) const;