// Get handles for the widgets.
currentFolderIconRadioButtonPointer = editFolderDialogUi.currentFolderIconRadioButton;
+ defaultFolderIconRadioButtonPointer = editFolderDialogUi.defaultFolderIconRadioButton;
currentWebsiteFavoriteIconRadioButtonPointer = editFolderDialogUi.currentWebsiteFavoriteIconRadioButton;
customFolderIconRadioButtonPointer = editFolderDialogUi.customFolderIconRadioButton;
parentFolderTreeWidgetPointer = editFolderDialogUi.parentFolderTreeWidget;
// Get the favorite icon.
if (currentFolderIconRadioButtonPointer->isChecked()) // The current folder icon is checked.
favoriteIcon = currentFolderIconRadioButtonPointer->icon();
+ else if (defaultFolderIconRadioButtonPointer->isChecked()) // The default folder icon is checked.
+ favoriteIcon = defaultFolderIconRadioButtonPointer->icon();
else if (currentWebsiteFavoriteIconRadioButtonPointer->isChecked()) // The current website favorite icon is checked.
favoriteIcon = currentWebsiteFavoriteIconRadioButtonPointer->icon();
else // The custom favorite icon is checked.