From 11e8faa599538f078b47c3ba8ad22d4b9fad008f Mon Sep 17 00:00:00 2001 From: Geoff Hutchison Date: Tue, 7 Jan 2025 10:28:42 -0500 Subject: [PATCH] [skip ci] Add key shortcut for remove bonds Fix #1919 Signed-off-by: Geoff Hutchison --- avogadro/qtplugins/bonding/bonding.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/avogadro/qtplugins/bonding/bonding.cpp b/avogadro/qtplugins/bonding/bonding.cpp index e0901f7f9d..d8418bd616 100644 --- a/avogadro/qtplugins/bonding/bonding.cpp +++ b/avogadro/qtplugins/bonding/bonding.cpp @@ -40,6 +40,7 @@ Bonding::Bonding(QObject* parent_) m_action->setProperty("menu priority", 750); m_createBondsAction->setProperty("menu priority", 740); m_orderAction->setProperty("menu priority", 735); + m_clearAction->setShortcut(QKeySequence("Ctrl+Shift+B")); m_clearAction->setProperty("menu priority", 720); connect(m_action, SIGNAL(triggered()), SLOT(bond()));