Browse Source

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

git-svn-id: file:///var/svn/tigccpp/trunk@1074 9552661e-59e3-4036-b4f2-dbe53926924f
kevinkofler 17 years ago
parent
commit
db4a9089a3
2 changed files with 5 additions and 3 deletions
  1. 2 1
      ktigcc/NEWS
  2. 3 2
      ktigcc/mainform.cpp

+ 2 - 1
ktigcc/NEWS

@@ -1,6 +1,6 @@
 This is a summary of the changes in KTIGCC since the first alpha release:
 
-CVS HEAD (2007-03-02):
+CVS HEAD (2007-04-02):
 
 * Added a full changelog (generated from CVS logs).
 * Fixed stray indentation at the end of the line when autoclosing a curly brace
@@ -10,6 +10,7 @@ CVS HEAD (2007-03-02):
   editable category. (The first character was read from the wrong buffer.)
 * Don't hardcode ~/.kde for the KDE(4)HOME 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.cpp

@@ -1085,8 +1085,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);