Changeset 108785 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Mar 28, 2025 1:41:06 PM (3 weeks ago)
- svn:sync-xref-src-repo-rev:
- 168218
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMExpertPage.cpp
r108575 r108785 496 496 if (m_pNameAndSystemEditor->name().isEmpty()) 497 497 m_pNameAndSystemEditor->markNameEditor(m_pNameAndSystemEditor->name().isEmpty(), 498 tr("Virtual machine name cannot be empty"), tr("Virtual machine name is valid")); 498 UIWizardNewVM::tr("Virtual machine name cannot be empty"), 499 UIWizardNewVM::tr("Virtual machine name is valid")); 499 500 else 500 501 m_pNameAndSystemEditor->markNameEditor((QDir(m_pNameAndSystemEditor->fullPath()).exists()), 501 tr("Virtual machine path is not unique"), tr("Virtual machine name is valid")); 502 UIWizardNewVM::tr("Virtual machine path is not unique"), 503 UIWizardNewVM::tr("Virtual machine name is valid")); 502 504 503 505 m_pNameAndSystemEditor->markImageEditor(!UIWizardNewVMNameOSTypeCommon::checkISOFile(m_pNameAndSystemEditor->ISOImagePath()), -
trunk/src/VBox/Frontends/VirtualBox/src/wizards/newvm/UIWizardNewVMNameOSTypePage.cpp
r108191 r108785 790 790 if (m_pNameAndSystemEditor->name().isEmpty()) 791 791 m_pNameAndSystemEditor->markNameEditor(m_pNameAndSystemEditor->name().isEmpty(), 792 tr("Virtual machine name cannot be empty"), tr("Virtual machine name is valid")); 792 UIWizardNewVM::tr("Virtual machine name cannot be empty"), 793 UIWizardNewVM::tr("Virtual machine name is valid")); 793 794 else 794 795 m_pNameAndSystemEditor->markNameEditor(!isMachineFolderUnique(), 795 tr("Virtual machine path is not unique"), tr("Virtual machine name is valid")); 796 UIWizardNewVM::tr("Virtual machine path is not unique"), 797 UIWizardNewVM::tr("Virtual machine name is valid")); 796 798 797 799 m_pNameAndSystemEditor->markImageEditor(!UIWizardNewVMNameOSTypeCommon::checkISOFile(m_pNameAndSystemEditor->ISOImagePath()),
Note:
See TracChangeset
for help on using the changeset viewer.