disabled 'detail' checkbox in q2 surface inspector
[xonotic/netradiant.git] / 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));
               }
             }
+
+            // not allowed to modify detail flag using Surface Inspector
+            gtk_widget_set_sensitive(GTK_WIDGET(m_contentFlags[27]), FALSE);
           }
         }
       }