Fix broken column toggle shortcuts
This commit is contained in:
parent
32a45890bb
commit
06d53de76d
|
@ -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;
|
||||
|
|
|
@ -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();
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue