toonz/sources/toonz/mainwindow.cpp
void MainWindow::toggleSelectionNextType() {
  if (TApp::instance()->getCurrentTool()->getTool()->getName() == T_Selection)
    CommandManager::instance()->getAction("A_ToolOption_Type")->trigger();
  else
    CommandManager::instance()->getAction(T_Selection)->trigger();
}
//---------------------------------------------------------------------------------------
/*-- Selection tool + type switching shortcuts --*/
Selection tool + type switching shortcuts
Selection tool + type switching shortcuts
void MainWindow::toggleSelectionNextType() {
  if (TApp::instance()->getCurrentTool()->getTool()->getName() == T_Selection)
    CommandManager::instance()->getAction("A_ToolOption_Type")->trigger();
  else
    CommandManager::instance()->getAction(T_Selection)->trigger();
}
void MainWindow :: toggleSelectionNextType ( ) { if ( TApp :: instance ( ) -> getCurrentTool ( ) -> getTool ( ) -> getName ( ) == T_Selection ) CommandManager :: instance ( ) -> getAction ( " " ) -> trigger ( ) ; else CommandManager :: instance ( ) -> getAction ( T_Selection ) -> trigger ( ) ; }
Selection tool + type switching shortcuts
Selection tool + type switching shortcuts