Skip to content

Commit

Permalink
Merge pull request #1771 from matterhorn103/ui-consistency
Browse files Browse the repository at this point in the history
Fix a few ellipsis inconsistencies
  • Loading branch information
ghutchis authored Nov 10, 2024
2 parents 0805ace + 75e649a commit 4801494
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion avogadro/qtgui/rwmolecule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ void RWMolecule::addUnitCell()
m_molecule.setUnitCell(cell);

auto* comm = new AddUnitCellCommand(*this, *m_molecule.unitCell());
comm->setText(tr("Add Unit Cell"));
comm->setText(tr("Add Unit Cell"));
m_undoStack.push(comm);
emitChanged(Molecule::UnitCell | Molecule::Added);
}
Expand Down
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
2 changes: 1 addition & 1 deletion avogadro/qtplugins/select/select.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Select::Select(QObject* parent_)
connect(action, SIGNAL(triggered()), SLOT(selectSidechainAtoms()));
m_actions.append(action);

action = new QAction(tr("Select Water"), this);
action = new QAction(tr("Select Water"), this);
action->setProperty("menu priority", 850);
connect(action, SIGNAL(triggered()), SLOT(selectWater()));
m_actions.append(action);
Expand Down

0 comments on commit 4801494

Please sign in to comment.