Browse Source

Fix A68k items in the New menu being shown even when A68k is not installed.

git-svn-id: file:///var/svn/tigccpp/branches/ktigcc-1-branch@1073 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 17 years ago
parent
commit
c6c7a9793f
2 changed files with 4 additions and 2 deletions
  1. 1 0
      ktigcc/NEWS
  2. 3 2
      ktigcc/mainform.ui.h

+ 1 - 0
ktigcc/NEWS

@@ -9,6 +9,7 @@ CVS ktigcc-1-branch (2007-03-02):
   editable category. (The first character was read from the wrong buffer.)
 * Don't hardcode ~/.kde for the KDEHOME directory.
 * Fixed missing word wrap on the data variable reloc label in Program Options.
+* Fixed A68k items in the New menu being shown even when A68k is not installed.
 
 
 KTIGCC 1.06 (2006-11-25):

+ 3 - 2
ktigcc/mainform.ui.h

@@ -1025,8 +1025,9 @@ void MainForm::init()
     asmFilesListItem=folderListItem;
     folderListItem->setText(0,"A68k Assembly Files");
   } else {
-    qllFilesListItem=NULL;
-    fileNewQuillSourceFileAction->setVisible(FALSE);
+    asmFilesListItem=NULL;
+    fileNewA68kAssemblyHeaderAction->setVisible(FALSE);
+    fileNewA68kAssemblySourceFileAction->setVisible(FALSE);
   }
   if (quill_drv) {
     folderListItem=new ListViewFolder(rootListItem,folderListItem);