refactored CONTENTS_DETAIL macro
[xonotic/netradiant.git] / radiant / surfacedialog.cpp
index d8183fa5a121748b558b47bfc1918d03069a75e1..0343bbd2a9a388743cbf2011ff551b8b62a8ba32 100644 (file)
@@ -1065,7 +1065,7 @@ GtkWindow* SurfaceInspector::BuildDialog()
             }
 
             // not allowed to modify detail flag using Surface Inspector
-            gtk_widget_set_sensitive(GTK_WIDGET(m_contentFlags[27]), FALSE);
+            gtk_widget_set_sensitive(GTK_WIDGET(m_contentFlags[BRUSH_DETAIL_FLAG]), FALSE);
           }
         }
       }