[Kalzium] [Bug 189630] Wish : Navigate in space and change the point of view after drawing a molecule

Marcus D. Hanwell marcus at cryos.org
Thu Apr 16 17:10:13 CEST 2009


https://bugs.kde.org/show_bug.cgi?id=189630





--- Comment #7 from Marcus D. Hanwell <marcus cryos org>  2009-04-16 17:10:10 ---
This could be a localization bug. I was just looking at the code to change
modes. Now these strings are not user visible, but the tool names were getting
localized. I will dig into this, but I think we fixed this recently. So now we
have a unique name which is not localized, and a user visible name and
description which is localized.

void MoleculeDialog::setViewEdit(int mode)
{
    if (mode == 0) ui.glWidget->toolGroup()->setActiveTool("Navigate");
    else if (mode == 1) {
      ui.glWidget->toolGroup()->setActiveTool("Draw");
      ui.glWidget->toolGroup()->activeTool()->readSettings(*m_drawSettings);
    }
    else if (mode == 2) ui.glWidget->toolGroup()->setActiveTool("Measure");
}

This is in the tools/moleculeview.cpp file in Kalzium's source. I would need to
install some alternate languages here to confirm this, but I suspect this is
the source of the problem.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Kalzium mailing list