| 3212 |
if Threaditem = nil then Exit; |
if Threaditem = nil then Exit; |
| 3213 |
|
|
| 3214 |
if ThreadItem.IsLogFile then begin |
if ThreadItem.IsLogFile then begin |
| 3215 |
|
//お気に入りの全て開くとかやると、今開いてるスレのbrowserを付け替える恐れがある |
| 3216 |
|
//常に4番目にActiveのブラウザが来ないように移動させる |
| 3217 |
|
if (FActiveContent <> nil) and (FActiveContent.FBrowser <> nil) then begin |
| 3218 |
|
j := FBrowsers.IndexOf(FActiveContent.FBrowser); |
| 3219 |
|
if j = 4 then |
| 3220 |
|
FBrowsers.Move(4, 0); |
| 3221 |
|
end; |
| 3222 |
favItem := TFavoriteThreadItem.Create(ThreadItem.URL, ThreadItem.Title ); |
favItem := TFavoriteThreadItem.Create(ThreadItem.URL, ThreadItem.Title ); |
| 3223 |
if not AddHistory( favItem ) then |
if not AddHistory( favItem ) then |
| 3224 |
favItem.Free; |
favItem.Free; |
| 3252 |
end; |
end; |
| 3253 |
idx := BrowserTab.TabIndex; |
idx := BrowserTab.TabIndex; |
| 3254 |
BrowserTab.Tabs.BeginUpdate; |
BrowserTab.Tabs.BeginUpdate; |
|
//お気に入りの全て開くとかやると、今開いてるスレのbrowserを付け替える恐れがある |
|
|
//常に4番目にActiveのブラウザが来ないように移動させる |
|
|
if (FActiveContent <> nil) and (FActiveContent.FBrowser <> nil) then begin |
|
|
j := FBrowsers.IndexOf(FActiveContent.FBrowser); |
|
|
if j = 4 then |
|
|
FBrowsers.Move(4, 0); |
|
|
end; |
|
| 3255 |
if GikoSys.Setting.BrowserTabAppend = gtaFirst then begin |
if GikoSys.Setting.BrowserTabAppend = gtaFirst then begin |
| 3256 |
newBrowser := TBrowserRecord.Create; |
newBrowser := TBrowserRecord.Create; |
| 3257 |
for j := BrowserTab.Tabs.Count - 1 downto 0 do begin |
for j := BrowserTab.Tabs.Count - 1 downto 0 do begin |