disabled 'detail' checkbox in q2 surface inspector
authorspog <spog>
Sun, 13 Aug 2006 13:43:26 +0000 (13:43 +0000)
committerspog <spog>
Sun, 13 Aug 2006 13:43:26 +0000 (13:43 +0000)
git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@98 8a3a26a2-13c4-0310-b231-cf6edde360e5

radiant/surfacedialog.cpp

index 6db9677..d8183fa 100644 (file)
@@ -1063,6 +1063,9 @@ GtkWindow* SurfaceInspector::BuildDialog()
                 g_object_set_data(G_OBJECT(check), "handler", gint_to_pointer(handler_id));
               }
             }
+
+            // not allowed to modify detail flag using Surface Inspector
+            gtk_widget_set_sensitive(GTK_WIDGET(m_contentFlags[27]), FALSE);
           }
         }
       }