From 36bfd90f3b6bb7dd6bbec82b3fe23cbbcc624213 Mon Sep 17 00:00:00 2001 From: Ivan Mahonin Date: Sep 25 2023 13:00:20 +0000 Subject: fix column right-click action --- diff --git a/toonz/sources/toonz/columncommand.cpp b/toonz/sources/toonz/columncommand.cpp index ed65e07..f392ef7 100644 --- a/toonz/sources/toonz/columncommand.cpp +++ b/toonz/sources/toonz/columncommand.cpp @@ -1514,7 +1514,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; /*-