ossp-pkg/as/as-gui/as_assist.cpp 1.51 -> 1.52
--- as_assist.cpp 2002/12/05 18:03:53 1.51
+++ as_assist.cpp 2002/12/09 16:44:37 1.52
@@ -373,7 +373,8 @@
if (pHelppopup == NULL) // Sanity check
throw Genexcept("Main window help popup creation failed.");
m_pMenubar->insertItem(trUtf8("&Help"), pHelppopup);
- pHelppopup->insertItem(trUtf8("&Contents"), this, SLOT(helpContents()), Key_F1);
+ nMenuid = pHelppopup->insertItem(trUtf8("&Contents"), this, SLOT(helpContents()), Key_F1);
+ pHelppopup->setItemEnabled(nMenuid, false);
pHelppopup->insertSeparator();
pHelppopup->insertItem(trUtf8("About &Titraq"), this, SLOT(aboutTitraq()));
pHelppopup->insertItem(trUtf8("About &OSSP"), this, SLOT(aboutOSSP()));
|
|