bug fixing for SPD editor.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@820 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jlin16 2006-07-07 08:52:34 +00:00
parent 8f4f211c8d
commit f46d7c213b
2 changed files with 5 additions and 2 deletions

View File

@ -514,8 +514,6 @@ public class SpdGuidDecls extends IInternalFrame implements TableModelListener{
*/
public void actionPerformed(ActionEvent arg0) {
docConsole.setSaved(false);
if (arg0.getSource() == jButtonOk) {
this.save();
this.dispose();
@ -549,6 +547,7 @@ public class SpdGuidDecls extends IInternalFrame implements TableModelListener{
if (!dataValidation(row)) {
return;
}
docConsole.setSaved(false);
model.addRow(row);
addRow(row);
}

View File

@ -128,7 +128,9 @@ public class SpdPackageDefinitions extends IInternalFrame {
jComboBoxReadOnly.setSelectedIndex(1);
jComboBoxReadOnly.addItemListener(new java.awt.event.ItemListener() {
public void itemStateChanged(java.awt.event.ItemEvent e) {
if (docConsole != null) {
docConsole.setSaved(false);
}
sfc.setSpdPkgDefsRdOnly(jComboBoxReadOnly.getSelectedItem()+"");
}
});
@ -151,7 +153,9 @@ public class SpdPackageDefinitions extends IInternalFrame {
jComboBoxRePackage.setSelectedIndex(0);
jComboBoxRePackage.addItemListener(new java.awt.event.ItemListener() {
public void itemStateChanged(java.awt.event.ItemEvent e) {
if (docConsole != null) {
docConsole.setSaved(false);
}
sfc.setSpdPkgDefsRePkg(jComboBoxRePackage.getSelectedItem()+"");
}
});