Skip to content

Commit

Permalink
Fix crash when creating ligands from the clipboard -- off-by-one bug
Browse files Browse the repository at this point in the history
Signed-off-by: Geoff Hutchison <[email protected]>
  • Loading branch information
ghutchis committed Oct 16, 2024
1 parent 2a74876 commit 893f843
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avogadro/qtplugins/templatetool/templatetoolwidget.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ enum LigandType
Tetradentate = 3,
Hexadentate = 4,
Haptic = 5,
Clipboard = 7
Clipboard = 6
};

TemplateToolWidget::TemplateToolWidget(QWidget* parent_)
Expand Down

0 comments on commit 893f843

Please sign in to comment.