void AddBookmarkDialog::updateUi()
{
- // Determine if both line edits are populated.
+ // Update the add button status
if (bookmarkNameLineEditPointer->text().isEmpty() || bookmarkUrlLineEditPointer->text().isEmpty()) // At least one of the line edits is empty.
{
// Disable the add button.