mirror of https://github.com/acidanthera/audk.git
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:
parent
8f4f211c8d
commit
f46d7c213b
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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()+"");
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue