Skip to content

Commit

Permalink
Add ellipsis to color options that open dialogs
Browse files Browse the repository at this point in the history
Signed-off-by: Matthew J. Milner <[email protected]>
  • Loading branch information
matterhorn103 committed Nov 10, 2024
1 parent 0805ace commit ec0897d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions avogadro/qtplugins/applycolors/applycolors.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,12 +45,12 @@ ApplyColors::ApplyColors(QObject* parent_)
connect(action, SIGNAL(triggered()), SLOT(openColorDialog()));
m_actions.append(action);

action = new QAction(tr("By Atomic Index"), this);
action = new QAction(tr("By Atomic Index"), this);
action->setData(atomColors);
connect(action, SIGNAL(triggered()), SLOT(applyIndexColors()));
m_actions.append(action);

action = new QAction(tr("By Distance"), this);
action = new QAction(tr("By Distance"), this);
action->setData(atomColors);
connect(action, SIGNAL(triggered()), SLOT(applyDistanceColors()));
m_actions.append(action);
Expand Down

0 comments on commit ec0897d

Please sign in to comment.