OSDN Git Service

・r1.254 の処置でブラウザの最小化されている時にスレリストから
authoryoffy <yoffy>
Fri, 9 Apr 2004 11:46:01 +0000 (11:46 +0000)
committeryoffy <yoffy>
Fri, 9 Apr 2004 11:46:01 +0000 (11:46 +0000)
 未取得のスレッドをクリックしただけでブラウザが最大化されてしまうようになっていたバグを修正。

Giko.pas

index d04331f..99d585d 100644 (file)
--- a/Giko.pas
+++ b/Giko.pas
@@ -5579,21 +5579,24 @@ begin
                if GikoSys.Setting.URLDisplay then
                        AddressComboBox.Text := ThreadItem.URL;
                end;
-       end;
 
-       if GikoSys.Setting.ListOrientation = gloHorizontal then begin
-               if GikoSys.Setting.ListWidthState = glsMin then begin
-                       BrowserMaxAction.Execute;
-                       if GikoForm.Visible then
-                               Browser.SetFocus;
-               end;
-       end else begin
-               if GikoSys.Setting.ListHeightState = glsMin then begin
-                       BrowserMaxAction.Execute;
-                       if GikoForm.Visible then
-                               Browser.SetFocus;
+               if ThreadItem.IsLogFile then begin
+                       if GikoSys.Setting.ListOrientation = gloHorizontal then begin
+                               if GikoSys.Setting.ListWidthState = glsMin then begin
+                                       BrowserMaxAction.Execute;
+                                       if GikoForm.Visible then
+                                               Browser.SetFocus;
+                               end;
+                       end else begin
+                               if GikoSys.Setting.ListHeightState = glsMin then begin
+                                       BrowserMaxAction.Execute;
+                                       if GikoForm.Visible then
+                                               Browser.SetFocus;
+                               end;
+                       end;
                end;
        end;
+
 end;
 
 procedure TGikoForm.BrowserTabClick(Sender: TObject);