]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
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 6db967704540b66f07f1be12cb361e1927cd9da8..d8183fa5a121748b558b47bfc1918d03069a75e1 100644 (file)
@@ -1063,6 +1063,9 @@ GtkWindow* SurfaceInspector::BuildDialog()
                 g_object_set_data(G_OBJECT(check), "handler", gint_to_pointer(handler_id));
               }
             }
                 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);
           }
         }
       }
           }
         }
       }