Skip to content

Commit

Permalink
pencil2d#1792 Auto-switch requires something to be selected
Browse files Browse the repository at this point in the history
  • Loading branch information
shieldgenerator7 committed Oct 6, 2023
1 parent 6b9d876 commit 709dc99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/toolbox.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ void ToolBoxWidget::onSelectionChanged(){
if (currentTool->type() == SELECT)
{
SelectTool* selectTool = (SelectTool*) currentTool;
if (!selectTool->selectChanging())
if (!selectTool->selectChanging() && editor()->select()->somethingSelected())
{
moveOn();
}
Expand Down

0 comments on commit 709dc99

Please sign in to comment.