]> git.proxmox.com Git - mirror_edk2.git/blobdiff - Tools/Source/FrameworkWizard/src/org/tianocore/frameworkwizard/module/ui/ModuleLibraryClassDefinitions.java
1. Wrap text by word when showing a message box
[mirror_edk2.git] / Tools / Source / FrameworkWizard / src / org / tianocore / frameworkwizard / module / ui / ModuleLibraryClassDefinitions.java
index 5104651700f551c4860e377e286708506e20cfa5..28cf57e5823bd15515023da2e64ea3a236863da9 100644 (file)
@@ -334,6 +334,7 @@ public class ModuleLibraryClassDefinitions extends IInternalFrame {
 \r
             this.omt.setSaved(false);\r
         } catch (Exception e) {\r
 \r
             this.omt.setSaved(false);\r
         } catch (Exception e) {\r
+            Log.wrn("Update Library Class Definitions", e.getMessage());\r
             Log.err("Update Library Class Definitions", e.getMessage());\r
         }\r
     }\r
             Log.err("Update Library Class Definitions", e.getMessage());\r
         }\r
     }\r
@@ -368,7 +369,7 @@ public class ModuleLibraryClassDefinitions extends IInternalFrame {
         }\r
         if (arg0.getSource() == jButtonUpdate) {\r
             if (this.selectedRow < 0) {\r
         }\r
         if (arg0.getSource() == jButtonUpdate) {\r
             if (this.selectedRow < 0) {\r
-                Log.err("Please select one record first.");\r
+                Log.wrn("Update Library Class Definitions", "Please select one record first.");\r
                 return;\r
             }\r
             showEdit(selectedRow);\r
                 return;\r
             }\r
             showEdit(selectedRow);\r