fix column right-click action
This commit is contained in:
parent
37337aeaf4
commit
4f1ce85ca6
|
@ -1453,7 +1453,9 @@ public:
|
|||
TXshColumn *column = xsh->getColumn(i);
|
||||
if (!column) continue;
|
||||
/*- Skip if target is in selected column mode and not selected -*/
|
||||
bool isSelected = selection && selection->isColumnSelected(i);
|
||||
bool isSelected = selection && !selection->isEmpty()
|
||||
? selection->isColumnSelected(i)
|
||||
: cc == i;
|
||||
if (m_target == TARGET_SELECTED && !isSelected) continue;
|
||||
|
||||
/*-
|
||||
|
|
Loading…
Reference in a new issue