Skip to content

OpenToonz - An open-source full-featured 2D animation creation software

C

#assistants: clear frame selection working on assistant level

Ivan Mahonin1715cdebd30d
diff --git a/toonz/sources/tnztools/editassistantstool.cpp b/toonz/sources/tnztools/editassistantstool.cpp
index b18ec3378..7a3ba76b1 100644
--- a/toonz/sources/tnztools/editassistantstool.cpp
+++ b/toonz/sources/tnztools/editassistantstool.cpp
@@ -17,6 +17,8 @@
#include <tproperty.h>
#include <tmetaimage.h>
+#include <toonzqt/tselectionhandle.h>
+
// For Qt translation support
#include <QCoreApplication>
@@ -437,6 +439,7 @@ protected:
public:
bool preLeftButtonDown() override {
if (m_assistantType.getIndex() != 0) touchImage();
+ TTool::getApplication()->getCurrentSelection()->setSelection(0);
return true;
}