We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d127025 commit 5afdf2dCopy full SHA for 5afdf2d
sakura_core/dlg/CDialog.cpp
@@ -740,11 +740,16 @@ static void DeleteRecentItem(
740
return;
741
}
742
743
+ int nRecentIndex = pRecent->FindItemByText( cItemText.GetStringPtr() );
744
+ // お気に入りチェック
745
+ if (pRecent->IsFavorite(nRecentIndex)) {
746
+ return;
747
+ }
748
+
749
// コンボボックスのリストアイテム削除
750
Combo_DeleteString( hwndCombo, nIndex );
751
752
// 履歴項目を削除
- int nRecentIndex = pRecent->FindItemByText( cItemText.GetStringPtr() );
753
if( 0 <= nRecentIndex ){
754
pRecent->DeleteItem(nRecentIndex);
755
0 commit comments