diff --git a/sakura_core/dlg/CDialog.cpp b/sakura_core/dlg/CDialog.cpp index c314b2254b..da139bb2d8 100644 --- a/sakura_core/dlg/CDialog.cpp +++ b/sakura_core/dlg/CDialog.cpp @@ -740,11 +740,16 @@ static void DeleteRecentItem( return; } + int nRecentIndex = pRecent->FindItemByText( cItemText.GetStringPtr() ); + // お気に入りチェック + if (pRecent->IsFavorite(nRecentIndex)) { + return; + } + // コンボボックスのリストアイテム削除 Combo_DeleteString( hwndCombo, nIndex ); // 履歴項目を削除 - int nRecentIndex = pRecent->FindItemByText( cItemText.GetStringPtr() ); if( 0 <= nRecentIndex ){ pRecent->DeleteItem(nRecentIndex); }