From: spog Date: Sun, 13 Aug 2006 13:43:26 +0000 (+0000) Subject: disabled 'detail' checkbox in q2 surface inspector X-Git-Tag: xonotic-v0.7.0~16^2~12^2~196 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=0b3ffc80a75f1819939485724986e33ec3d05b75;p=xonotic%2Fnetradiant.git disabled 'detail' checkbox in q2 surface inspector git-svn-id: svn://svn.icculus.org/gtkradiant/GtkRadiant/trunk@98 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- diff --git a/radiant/surfacedialog.cpp b/radiant/surfacedialog.cpp index 6db96770..d8183fa5 100644 --- a/radiant/surfacedialog.cpp +++ b/radiant/surfacedialog.cpp @@ -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); } } }